Get the delivery status of a WhatsApp message
GET/api/partner-gateway/messages/status/:customerMessageId
Returns the current delivery status of one message, looked up by its customerMessageId and channel.
- Which ID to use: the
messageIdyou set when sending (cut to 200 characters), or the one the platform generated; the send response returns it asmessageId. channelis required: sendchannel=WHATSAPP. With any other channel a WhatsApp message answers404.- A status exists only after dispatch: a scheduled message has none before its
scheduledDate. Allow a few seconds, possibly longer. - Keep your IDs unique: the platform does not check them. For a reused ID this endpoint returns one of the matching records, chosen arbitrarily, while
GET /messages/statusreturns them all.
A
404does not mean the send failed. It is also the answer while the message has not been dispatched yet, so do not send the message again.
Delivery statuses
deliveryStatus | Meaning |
|---|---|
DELIVERED | The carrier or channel provider confirmed that the message reached the recipient's device. |
EXPIRED | Not delivered within its time-to-live window: the carrier discarded it. |
ERROR | The message could not be delivered. deliveryStatusDescription is always general error: the provider's failure reason is not returned. |
DISABLED | The recipient has the channel switched off. |
UNSUPPORTED | The recipient's device or number does not support the channel. |
CONVERSATION_CLOSED | The 24-hour customer-service window had closed. |
UNKNOWN | No status information. It also covers a message still waiting for its first receipt. |
The Delivery Statuses table in the API overview gives the numeric code the delivery webhook sends for each status.
To check many messages in one call, use GET /messages/status.
GET /messages/status/{customerMessageId} is one endpoint for SMS, RCS and WhatsApp: this page describes it for WhatsApp. See it for SMS or RCS.
Request
Responses
- 200
- 400
- 401
- 404
- 500
The delivery status of the message.
channel is missing or is not one of RCS, WHATSAPP, SMS.
The API key is missing, invalid, or lacks the MESSAGES operation.
No message with this customerMessageId on this channel for your account: the ID is unknown, the channel is not the one the message was sent on, or the message has not been dispatched yet.
Unexpected server error. Retry after a short delay.