Send Authentication Template

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

To know how to send an authentication template go to the Sending Authentication Template section.

Body Params
placeholders
object

Set ´code´ as parameter.

The one-time password or verification code to be delivered to the customer.

string

Name of the template created in your WhatsApp Business Account.

string

Template Language you set when creating the template.

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

English: ´en´, ´en_GB´, ´en_US´

Spanish: ´es´, ´es_AR´, ´es_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 authentication template. Numbers are specified in E.164 format → (‘+’ and a country code).

callbacks
array of strings
callbacks
templateButtons
array

Array that contains the copy code button for a Call To Action Button.

templateButtons
Responses

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