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
receiptRequestobject of the message request. If you do not include areceiptRequest, 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: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.Verify receipts with callback security. If posts stop
arriving, check the circuit breaker.