How to Get Delivery Reports
Fetch the delivery report of an SMS by making a HTTP GET request with id of the recipient message using the endpoint below:
Endpoint
https://api.smsleopard.com/v1/delivery_reports/{unique_id_of_recipient_message}Authorization
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=Code Examples
curl -u API_KEY:API_SECRET -X GET https://api.smsleopard.com/v1/delivery_reports/fb21dd7c-8df5-4aac-895a-6fec8eb29e8dExample of a Successful Response
Status code: 201
{
"id": "fb21dd7c-8df5-4aac-895a-6fec8eb29e8d",
"reason": "",
"status": "DELIVRD",
"time": 1626390000
}| id | The unique identifier for each recipient message. |
| reason | The cause of message delivery failure. |
| status | The current status of the message in our system. |
| time | The time message was delivered in unix timestamp. |