POST /api/create-message| Parameter | Type | Required | Description |
|---|---|---|---|
| authkey | string | Yes | User auth key |
| appkey | string | Yes | App key (app must be linked to a WhatsApp device) |
| to | string | Yes | Recipient phone number, digits only, max 13 chars (e.g. 966501234567) |
| message | string | Yes* | Message text, max 1000 characters. *Required if template_id is not sent |
{
"message_status": "Success",
"data": {
"from": "966501234567",
"to": "966501234567",
"status_code": 200
}
}{
"error": "Invalid Auth and AppKey"
}{
"error": "Daily limit or warm-up: sending not allowed."
}curl --location --request POST '/api/create-message' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "966501234567",
"message": "Hello from API"
}'{}