POST /v1/whatsapp/messages/text to reply to a customer with plain text. Text needs an open 24-hour window — if the customer has not messaged you in the last 24h, the send returns 422 WINDOW_CLOSED; send a template to open one.
Endpoint
X-API-Key (required), Content-Type: application/json.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
body | string | yes | The message text, up to 4096 characters. |
to | string | target | The customer number in E.164. The number you are messaging. |
sender | string | no | Which of your numbers to send from. Optional when your workspace has one active sender. |
conversation_id | uuid | alt | Alternative to to + sender: an existing thread to reply in. |
Example
cURL
{ message_id, status: "pending" }. Then track delivery. Build and send a live request from the Send a text message reference page.