channel field in the body is ignored.to: a phone number (7–15 digits), a WhatsApp ID (123456789012345@lid)@ahmed.shop). Usernames are resolved through the device;pin.message: required, max 1000 characters.data.message_id (an integer) — that is the message_id of thecurl --location '/api/whatsapp/send-text' \
--header 'Content-Type: application/json' \
--data '{
"authkey": "{{authkey}}",
"appkey": "{{appkey}}",
"to": "966501234567",
"message": "Your order is on its way"
}'{
"success": true,
"data": {
"message_id": 12345,
"channel": "whatsapp",
"from": "966500000000",
"to": "966501234567"
}
}