Check the approval status of a Sender ID. Note: This API requires X-API-VASKEY in the header for authentication.
POST https://api.moolre.com/open/sms/status
To test in sandbox, use https://sandbox.moolre.com/open/sms/status instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
type | integer | Yes | ID of the sender ID status function. Must be 1. |
senderid | string | Yes | Sender ID to check. |
Sender ID is Approved.
{
"status": 1,
"code": "ASMQ01",
"message": "Sender ID Status",
"data": {
"senderid": "SmartSMS",
"approval": "Approved",
"whitelisted": false
},
"go": null
}
Sender ID is Pending approval.
{
"status": 1,
"code": "ASMQ01",
"message": "Sender ID Status",
"data": {
"senderid": "Dummy",
"approval": "Pending",
"whitelisted": false
},
"go": null
}
Sender ID is Rejected.
{
"status": 1,
"code": "ASMQ01",
"message": "Sender ID Status",
"data": {
"senderid": "Momo",
"approval": "Rejected",
"whitelisted": false
},
"go": null
}