Endpoint
messages.send.
Headers
| Header | Value |
|---|---|
Authorization | Bearer apitk_... |
Accept | application/json |
Path parameters
Your workspace subdomain.
The WhatsApp
wamid.* returned from any send endpoint.Example request
Example response
200 OK
Response fields
| Field | Type | Notes |
|---|---|---|
message_id | string | The WhatsApp wamid.* you queried. |
delivery_status | string | Current state: pending, sent, delivered, read, or failed. |
error_message | nullable string | Populated when delivery_status: "failed". |
source | string | Internal record type (e.g. chat). |
last_updated | datetime | Last time WhatsApp updated this status. |
statuses | object | Human descriptions for every possible status. |
Error responses
| Status | When | Example body |
|---|---|---|
401 | Missing / invalid token | {"status":"error","message":"Invalid API token"} |
403 | Missing ability | {"status":"error","message":"Token does not have the required ability: messages.send"} |
404 | Unknown messageId | {"status":"error","message":"Message not found"} |
429 | Rate limit | {"message":"Too many requests","retry_after":45} |
500 | Server error | {"status":"error","message":"Failed to get message status"} |