Skip to main content
POST
Send a message to an existing chat

Authorizations

Authorization
string
header
required

Bearer token authentication. Include your API token in the Authorization header.

Format: Authorization: Bearer <your-token>

Headers

Idempotency-Key
string

Optional 1–255 character key for safe retries. If message.idempotency_key is also present, the two values must match.

Required string length: 1 - 255

Path Parameters

chatId
string<uuid>
required

Unique identifier of the chat

Body

application/json
message
object
required

One message containing 1–100 ordered parts. A link must be the only part. A selection needs no text part; it carries its own title, and a text part beside it is an ordinary message. Selection responses contain exactly plain text then selection_response metadata and require an explicit reply target. A message carries at most one rich_card or carousel; a card reply is exactly plain text then suggestion_response, replying to the card part. Form responses contain exactly Form sent plain text then form_response metadata with answers keyed by field id, and require an explicit reply target.

Response

Message accepted for delivery

Response for sending a message to a chat

chat_id
string<uuid>
required

Unique identifier of the chat this message was sent to

message
object
required

A message that was sent (used in CreateChat and SendMessage responses)