Send Message
Sends a WhatsApp template message to one or more recipients via a configured WhatsApp Business Account (WABA). Only approved template messages are supported.
message.whatsapp.send API client authorization scope to send WhatsApp messages.You can configure scopes on the API Clients page.Request Modes
The API supports two request modes:TemplateSendToMany- Sends the same template message with shared parameters to multiple recipients.TemplateSendToEach- Sends personalized template messages to individual recipients. Parameters can differ per recipient.
Template Parameters
Templates support dynamic parameters that are substituted into the template body, header, buttons, OTP, offers, carousel cards, media, and location components when messages are sent.Parameter Types
| Parameter Type | Required Field | Description |
|---|---|---|
BodyNamedParameter | name | Substitutes a body placeholder referenced by name (e.g. {{name}}) |
BodyPositionalParameter | position | Substitutes a body placeholder referenced by position (e.g. {{1}}) |
HeaderNamedParameter | name | Substitutes a header placeholder referenced by name (e.g. {{name}}) |
HeaderPositionalParameter | position | Substitutes a header placeholder referenced by position (e.g. {{1}}) |
Example
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique identifier of the WhatsApp service
Body
WhatsApp template message send request
- TemplateSendToMany
- TemplateSendToEach
Must be "TemplateSendToMany"
TemplateSendToMany Phone number ID of the WABA sender. Must match a number registered on the service
ID of the approved WhatsApp template to send
Recipient phone numbers. Maximum 10 per request
10Tagged template parameter used to fill body, header, button, OTP, offer, carousel, media, or location placeholders.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
Delivery receipt callback configuration. When provided, both fields are required.
Response
Successful send request accepted and queued