Documentation Index
Fetch the complete documentation index at: https://docs.modawer.com/llms.txt
Use this file to discover all available pages before exploring further.
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. |
phoneNumberId | string | Optional linked WhatsApp phone number ID to send from. |