Skip to main content

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

FieldValue
MethodPOST
Path/api/messages/send/raw
Content-Typeapplication/json

Request body

FieldTypeDescription
payloadobjectRaw message payload to queue.
payload.recipientstringPhone number that receives the message.
payload.tostringWhatsApp recipient phone number.
payload.typestringMessage type. Use "template".
payload.template.namestringWhatsApp template name.
payload.template.language.codestringTemplate language code.
payload.template.componentsobject[]WhatsApp template components and parameters.
phoneNumberIdstringOptional linked WhatsApp phone number ID to send from.
The easiest way to get the correct template.components for your template is from the Modawer Portal. After linking your WhatsApp account, open the API Playground section and select Send WhatsApp Template.

Required header

X-API-KEY: your-app-token

Success response

{
  "queued": true
}