Skip to content

Send Message

POST
/open/whatsapp/send

Send batch WhatsApp messages using an approved template name. The unique reference (ref) is optional; however, without it, the message status cannot be tracked.

history

Request History

Your request history will appear here.

Body Params

lock

Messages List

Optional

Leave blank if you don't need status tracking. Messages without refs cannot be checked in the status page.

No placeholders defined.

Responses

RESPONSE BODY
statusinteger
Transaction status (1 for success).
codestring
Success or error code.
messagestring
Response message.
errorarray/string
Error details if any.
dataarray
List of messages that were actually sent or failed.
RESPONSE BODY
statusinteger
Transaction status (1 for success).
codestring
Success or error code.
errorstring
Warning message regarding non-unique references.
messagestring
Response message.
dataarray
List of messages that were rejected due to duplicate references.
RESPONSE BODY
statusinteger
Transaction status (0 for error).
codestring
Error code (WAS401).
messagestring
Error message explaining the insufficient balance.

Language

Credentials

X-API-VASKEY
curl --request POST \     --url 'https://api.moolre.com/open/whatsapp/send' \     --header 'X-API-VASKEY: YOUR_WHATSAPP_X_API_VASKEY' \     --header 'Content-Type: application/json' \     --data '{  "template_name": "",  "language": "en",  "messages": [    {      "recipient": "",      "ref": "",      "placeholders": []    }  ]}'

Response

Body

{  "status": 1,  "code": "WAS200",  "message": "suceess",  "error": [],  "data": [],  "meta": {    "requestid": "req_c68f4c66115c26725c796242",    "notices": []  }}