Get the delivery status of an SMS 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=SMS. With any other channel an SMS answers404.- A status exists only after dispatch: a scheduled message has none before its
scheduledDate. Allow a few seconds after the send. - Keep your IDs unique: the platform does not check them. For a reused ID, or an SMS split into several parts, 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 |
|---|---|
ACCEPTED | Forwarded to the carrier, no delivery receipt yet: the status of an SMS in flight. |
DELIVERED | The carrier or channel provider confirmed that the message reached the recipient's device. |
REJECTED | The carrier refused the message. |
UNDELIVERABLE | The destination cannot receive the message, typically an unreachable or invalid number. |
DELETED | The message was cancelled before it could be delivered. |
EXPIRED | Not delivered within its time-to-live window: the carrier discarded it. |
UNKNOWN | No status information. |
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 SMS. See it for RCS or WhatsApp.
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.