Skip to main content
Adds one message to a ticket’s primary conversation: a line from the customer or a reply from your own bot. See Bring your own chatbot for the full flow.

Authentication

A Read & write live key. See Authentication.

Path parameters

string
required
Conversation ID prefixed with conv_. Use the conversation with role: "primary" from the ticket.

Body

string
required
user (the customer) or assistant (your bot).
string
required
Plain text, up to 20,000 characters.

Response

201 with the Message object. A message from your bot has role: "assistant" and author: null.

Example

curl
Response

Errors