Callback
Callback
POST
https://your-callback-url.com/
If you specify a callback_url when sending your message, we will perform a http request to the provided url with the following message status data.
Request Body
message_id
string
The unique message ID allocated to the message when originally submitted.
status
string
The final status of the message, in all-caps, ie. DELIVRD, UNDELIV, EXPIRED etc
status_code
string
The DLR status success or error code associated with the delivery status.
done_date
string
The date and time at which the sms message reached it's final state.
operator
string
The mobile network operator and country.
length
string
Total number of characters for the sms.
page
string
Number of pages for the message. The character limit for a single page SMS message is 160 characters.
cost
string
The cost of sending this message.
Sample Request Body
Using the callback url, you can also link a status update back to your internal application reference ID. A way to achieve this will be for you to include your internal reference ID as a path in your callback_url. To illustrate, if you are sending sms and the sms have reference ID 8f0af1fbd432 within your application, the callback_url can be https://your-callback-url.com/8f0af1fbd432/
Last updated
Was this helpful?