Use this api to fetch delivery reports.
URL - https://app.bongasms.co.ke/api/fetch-delivery
METHOD - GET
Response : JSON
Request Parameters
Name | Description | Type | Option |
---|---|---|---|
apiClientID | API Client ID (Provided above) | Numeric | Mandatory |
key | API Key (Provided above) | String | Mandatory |
unique_id | SMS unique id sent back when send-sms was invoked | String | Mandatory |
Response Parameters
Name | Description | Type | Option |
---|---|---|---|
status | Status of the request (222 - success, 666 - error) | Numeric | Mandatory |
status_message | Description of status | String | Mandatory |
delivery_status | SMS delivery status | String | Mandatory |
delivery_status_desc | SMS delivery status description | String | Mandatory |
curl --location --request GET 'https://app.bongasms.co.ke/api/fetch-delivery?apiClientID=605&key=SLn4VDUnPomPjzB&unique_id=30987653'
{
"status": 222,
"status_message": "fetched delivery status",
"unique_id": 345119267,
"delivery_status_desc": "DeliveredToTerminal",
"date_received": "2022-05-24 16:00:33",
"correlator": null,
"msisdn": "254712345678"
}