Send Bot Message to Conversation
POST
/v1/conversations/{id}/messages
const url = 'https://example.com/v1/conversations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/messages';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"content":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/conversations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/messages \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "content": "example" }'Sends a message as an external bot on any conversation channel (webchat, telegram, line, facebook, instagram, etc.). Content is automatically adapted to the target channel’s capabilities.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Conversation UUID
Request Body required
Section titled “Request Body required ” Media type application/json
object
content
required
Rich message content (text, image, document, interactive, rich_card, carousel, etc.).
Example generated
{ "content": "example"}Responses
Section titled “ Responses ”Message sent
Media type application/json
object
id
required
string format: uuid
seq
integer | null format: int64
status
required
string
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "seq": 1, "status": "example"}Bad Request - Invalid content or unsupported channel
Unauthorized - Invalid API Key
Not Found - Conversation not found in tenant