Skip to main content
POST
/
api
/
pub
/
wa
/
send
/
msg
Send a Generic Message
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
}
'

Authorizations

x-api-key
string
header
required

Your application's unique ID.

x-api-secret
string
header
required

Your application's secret key.

Body

application/json

Generic message payload

whatsapp
string
required

The _id of the WhatsApp account to send from.

Example:

"60c72b2f9b1d8e001f8a1b2c"

phone
string
required

The recipient's phone number in E.164 format.

Example:

"+911234567890"

msg
object
required

The message content.

Example:

200

Response

Message successfully queued.