Skip to main content
Delivery receipts provide a mechanism to track the status of messages sent through the API. When you send a message with a receiptRequest, the system will send a delivery receipt to your specified callback URL once the message reaches its final state. This allows you to monitor the delivery status of your messages in real-time.
  • Delivery receipts are sent to the callback URL specified in the receiptRequest object of the message request. If you do not include a receiptRequest, no delivery receipt will be sent.
  • Ensure that the callback URL is publicly accessible and can handle incoming HTTP POST requests to receive the delivery receipts.

Delivery Receipt Format

A delivery receipt is sent as an HTTP POST request to your callback URL with the following JSON structure:

Fields Explanation

Correlating a Delivery Receipt

When a message is submitted, the API returns a unique request ID for that message. The same ID is included as requestId in the corresponding delivery receipt callback. Clients can store the request ID from the API response and use it to match subsequent delivery receipts to the original message. For example, if the API response contains:
The corresponding delivery receipt will contain:
This allows the delivery receipt to be reliably associated with the original message request.

Possible Delivery Status Values

Receipt Request

An optional object on sent requests that enables delivery status callbacks. It must be included in the SMS message request body when sending a message to receive delivery receipts for that message.

Receipt Request

An optional object on sent requests that enables delivery status callbacks. It must be included in the SMS message request body when sending a message to receive delivery receipts for that message.
When provided, both fields are required. An invalid receiptRequest causes the entire request to be rejected with 400 Bad Request before any messages are dispatched.