Endpoint
| Field | Value |
|---|---|
| Method | POST |
| Path | /api/messages/send/raw |
| Content-Type | application/json |
Request body
| Field | Type | Description |
|---|---|---|
payload | object | Raw message payload to queue. |
payload.recipient | string | Phone number that receives the message. |
payload.to | string | WhatsApp recipient phone number. |
payload.type | string | Message type. Use "template". |
payload.template.name | string | WhatsApp template name. |
payload.template.language.code | string | Template language code. |
payload.template.components | object[] | WhatsApp template components and parameters. |
whatsappBusinessId | string | Connected WhatsApp Business Account ID (WABA ID). |
phoneNumberId | string | Linked WhatsApp phone number ID to send from. |
This page is for regular WhatsApp template messages, including Marketing,
Utility, and other template categories. For OTPs sent from your own WhatsApp
account using an
AUTHENTICATION template and optional message flow, see
Send OTP from Your WhatsApp Account.