Approve Sender ID API

Approve or reject registered Sender IDs. Note: This API requires X-API-VASKEY in the header for authentication and specific administrative permissions.

Endpoint Information

POST https://api.moolre.com/open/sms/status

To test in sandbox, use https://sandbox.moolre.com/open/sms/status instead.

Request Parameters

ParameterTypeRequiredDescription
typeintegerYesID of the approve sender ID function. Must be 6.
senderidsarrayYesAn array of sender ID objects containing senderid and approve (0 = Pending, 1 = Approved, 2 = Rejected).

Response Examples

200 - Success

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
}

400 - Permission Denied

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
}

← Back to AI Documentation Index | View Full API Reference