cURL
curl --request POST \ --url https://app.adsera.in/api/pub/wa/send/msg \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-api-secret: <api-key>' \ --data ' { "whatsapp": "60c72b2f9b1d8e001f8a1b2c", "phone": "+911234567890", "msg": 200 } '
200
Sends a generic message (text, media, etc.) to a contact. Note: This kind of message can only be sent within the 24-hour open window.
Your application's unique ID.
Your application's secret key.
Generic message payload
The _id of the WhatsApp account to send from.
"60c72b2f9b1d8e001f8a1b2c"
The recipient's phone number in E.164 format.
"+911234567890"
The message content.
Show child attributes
Message successfully queued.
Was this page helpful?