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

Name
Type
Description

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.

{"status": "ok"}

Sample Request Body

{
   "message_id": "e70b1903-c877-4d9a-9ec0-ab73b9d7b1db",
   "status": "DELIVRD",
   "status_code": "000",
   "done_date": "2020-10-01 00:15:50",
   "operator": "Nigeria - 9MOBILE",
   "length": "157",
   "page": "1",
   "cost": "3.00"
}

Last updated

Was this helpful?