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.
A delivery receipt is sent as an HTTP POST request to your callback URL with the following JSON structure:
Fields Explanation
Possible Delivery Status Values
Receipt Request
An optional object on send 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 send 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.