Send Text Message Template

Once the WhatsApp text message template has been created via UI or API and approved, the next step is sending the message template to the end users through the Messages API.

To know how to send a text message template go to the Sending a Text Message Template section.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Whatsapp Message Request

placeholders
object

Object of personalized fields (placeholders) containing the text message body.

From the ´placeholders´ object, set as parameter the placeholder you configured that is inside double curly braces {{...}} when creating the message template. Then set the value of the placeholder parameter.

The placeholders must be correctly formatted in order of how the message template was created.

For example, for a text message body like “Here is your {{code}}”, you would set the placeholder as ´code´: ´34871´.

string

Name of the message template created in your WhatsApp Business Account.

string

Message Template Language you set when creating the message template.

Currently the API supports 3 Languages: English, Spanish and Portuguese. Required if you want to send message templates in languages other than English.

English: ´en´

Spanish: ´es´

Portuguese: ´pt_BR´, ´pt_PT

string
required

Phone number of the sender.

Phone number provided during the WABA account setup will be used as the sender of the notification message.

Only accepts numeric characters. Do not include the ´+ sign.

string
required

Determines the destination phone number for your message template. Numbers are specified in E.164 format → (‘+’ and a country code).

string

Unique identifier of the message template.

callbacks
array of strings
callbacks
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json