Add messages

post

Add new messages to an existing thread. Messages are provided in multimodal format and stored in Firestore format. Customer activity is automatically tracked for each message.

Authorizations
AuthorizationstringRequired

Bearer {apikey}

Path parameters
agentIdstringRequired

The ID of the agent.

customerIdstringRequired

The ID of the customer.

channelstringRequired

The channel name. Supported channels are: facebook, instagram, whatsapp, tiktok, telegram, widget_chatbot, or any channel starting with 'chatbot.' (e.g., 'chatbot.web', 'chatbot.mobile'). Note: For chatbot channels and widget_chatbot alias, the customer must have a widget_chatbot.id field. When using widget_chatbot, the API resolves to an existing chatbot.* thread for the customer.

Example: {"value":"facebook","summary":"Facebook channel"}
Body
Responses
post
/v1/agents/{agentId}/customers/{customerId}/threads/{channel}/messages

Last updated