Skip to content

Create Sender ID

POST
/open/sms/query

This endpoint allows you to create and manage Sender IDs for sending SMS messages. Sender IDs must be approved before they can be used.

history

Request History

Your request history will appear here.

Body Params

typeintegerrequired

ID of the sender ID creation function. Should be 3.

senderidsarrayrequired

An array of sender ID objects.

Sender ID 1

Responses

RESPONSE BODY
statusinteger
1 for success
codestring
ASMQ12
messagestring
Sender IDs Created Successfully.
You do not have permission to approve Sender IDs.
The provided sender ID is not allowed.

Language

Credentials

X-API-VASKEY
curl --request POST \     --url 'https://api.moolre.com/open/sms/query' \     --header 'X-API-VASKEY: YOUR_SMS_X_API_VASKEY' \     --header 'Content-Type: application/json' \     --data '{  "type": 3,  "senderids": [    {      "senderid": "JMoolre",      "approve": false    }  ]}'

Response

Body

{  "status": 1,  "code": "ASMQ12",  "message": "Sender IDs Created Successfully.",  "data": null,  "go": null,  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}