Check SMS status

Endpoint: https://account.mobilesasa.com/api/findSms-status


The messsage_id in the params is the messageID returned when you send an SMS.


# Headers Params Response
1 Content-Type: application/json

{
"messageID": "message_id",
"api_key": "api_key"
}
{"states":[{"message":{"id":"64d6b7f0-5ab3-11e9-bb14-9704f43eb62c","msisdn":"254707070707","date_time":"2019-04-09T10:36:54.000Z","message_state":{"code":2,"date_time":"2019-04-09T10:36:58.000Z","state":"DELIVERED"}}}]}
2 Accept: application/json
3 Authorization: Bearer access_token

Curl example:


curl -X POST \
  https://account.mobilesasa.com/api/findSms-status \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer access_token' \
  -H 'Content-Type: application/json' \
  -d '{
  "messageID": "63d6cf50-5ab3-11e9-881f-0b0b6d6abd6f",
  "api_key": "api_key"
}'