Send a WhatsApp Template
You can send a template message to a Phone Number via API using the endpoint below.
Send a WhatsApp Template
POST
https://api.getkanal.com/api/v1/templates
Send a predefined template message to a specific phone number
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <YOUR_API_KEY>
Body
Name
Type
Description
template_id
number
ID of the template that you want to send to the Phone Number TODO : WHERE FIND ?
phone_number
string
name
string
The WhatsApp name that you will register for the contact The WhatsApp name of the contact will be replaced by their real WhatsApp name once the contact responds to you
variables
array
Array of values to replace the variables in the template
Response
Last updated