Send interactive reply-button message (inside the 24h window)

Send a free-form WhatsApp Official interactive message with 1 to 3 reply buttons while the contact's 24-hour customer service window is open. Uses the account's own WhatsApp Business token. Outside the window it returns 400 with details.code WINDOW_CLOSED; use POST /v2/messages/template to reach the contact instead (there is no automatic template fallback). When the contact taps a button, the reply arrives in the chat and through the message webhook with the button's title as the text. If WhatsApp refuses the message while it is being sent, the answer is 400 with details.code PROVIDER_REJECTED instead of QUEUED. Returns immediately with QUEUED status.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
uuid
required

UUID of the WhatsApp Official channel account

uuid
required

UUID of the contact to send the message to

uuid

Optional UUID of an existing chat. If not provided, the system will find or create a chat automatically.

string
required
length ≤ 1024

Message text (1–1024 characters)

buttons
array of objects
required
length between 1 and 3

1 to 3 reply buttons. Ids and titles must be unique within the message (titles compared trimmed and case-insensitive).

buttons*
string
required
length ≤ 252

Your identifier for the button (max 252 chars). It is sent to WhatsApp prefixed with "api:" so it never collides with an automation button; the stored message carries the prefixed id. When the contact taps the button, the reply arrives with the button title as text.

string
required
length ≤ 20

Button label (max 20 chars)

header
object

Optional header: text (max 60 chars) or an image, video or document by public HTTPS link.

Headers
string
required

API Token

Responses

401

Authentication error - invalid or missing api-token

403

The API key does not have the messages:write scope

POST /v2/messages/template) can be sent until the conversation is idle or owned by Clint again. Do not retry: every retry returns the same answer and adds another refused message to the chat. The refused message stays in the chat with an error status. See thread_ownership on the Chat resource.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json