Approve or reject registered Sender IDs. Note: This API requires X-API-VASKEY in the header for authentication and specific administrative permissions.
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 approve sender ID function. Must be 6. |
senderids | array | Yes | An array of sender ID objects containing senderid and approve (0 = Pending, 1 = Approved, 2 = Rejected). |
Sender IDs updated successfully.
{
"status": 1,
"code": "ASMQ07",
"message": "Sender IDs updated successfully.",
"data": [
{
"id": "14",
"senderid": "Dummy",
"approval": "Approved",
"whitelisted": false
},
{
"id": "13",
"senderid": "SmartSMS",
"approval": "Rejected",
"whitelisted": false
}
],
"go": null
}
You do not have permission to update Sender IDs.
{
"status": 0,
"code": "ASMQ09",
"message": "You do not have permission to update Sender IDs. Contact Customer Support.",
"data": "senderid",
"go": null
}