Get the delivery status of several WhatsApp messages
GET/api/partner-gateway/messages/status
Returns the delivery status of several messages in one call, which is much more efficient than calling the single-status endpoint in a loop.
- Channel: send
channel=WHATSAPP. All the IDs must be of WhatsApp messages. ids: thecustomerMessageIdvalues, separated by commas and without spaces, for exampleids=msg-001,msg-002,msg-003.- At most 200 IDs per call: split larger lookups over several requests.
- Missing IDs are left out, not reported: an ID that matches no message of your account on that channel is silently omitted, and so is a message not dispatched yet, such as a scheduled message before its
scheduledDate. If nothing matches you get200with an empty array, not404. - One ID can return several entries: an ID reused on several sends returns one entry per send.
Do not compare counts. The array is unordered and can be shorter or longer than your list of IDs. To find the missing messages, compare the distinct
customerMessageIdvalues returned with your list.
Each entry has the fields of GET /messages/status/{customerMessageId}, including deliveryStatus, whose values are in the Delivery Statuses table of the API overview. To list the messages sent through the API in a date range, use GET /messages/history.
GET /messages/status 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
- 500
The delivery status entries found, in no particular order: an empty array when no ID matches.
channel or ids is missing, channel is not one of RCS, WHATSAPP, SMS, or ids holds more than 200 values.
The API key is missing, invalid, or lacks the MESSAGES operation.
Unexpected server error. Retry after a short delay.