Get or create thread
Bearer {apikey}
The ID of the agent.
The ID of the customer.
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.
{"value":"facebook","summary":"Facebook channel"}Optional limit for the number of messages to return (starting from the last message). If not provided, returns all messages.
Successful Response
The thread ID.
The agent ID.
The customer ID.
The thread status (e.g., 'active', 'inactive').
The AI response status (e.g., 'enabled', 'disabled').
The thread creation timestamp.
The thread last update timestamp.
Bad Request
Forbidden
Not Found
Internal Server Error
Last updated