Skip to main content
POST
Send a message in a conversation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Optional key making this request safely retryable: replaying the same key with the same body returns the original response instead of executing twice. Keys are kept for 24 h.

Path Parameters

id
string
required

Body

application/json
text
string
required

Text content of the message. Optional when template is given — the template carries the content, and the text is then only what the inbox shows.

template
object

WhatsApp only: send an approved template instead of free-form text. Required past the 24h messaging window; ignored by other platforms.

Response

201 - undefined