Templates
This endpoint allows you to send a template message to a WhatsApp phone number.
Request Body
token(string, required): The token for authentication.phone(string, required): The recipient's phone number.template_name(string, required): The name of the template to be used.template_language(string, required): The language of the template.components(array, optional): Message components as defined by the Meta WhatsApp Cloud API.
{{token}}{{phone}}{{template_name}}{{template_language}}Success
Success
This endpoint makes an HTTP GET request to retrieve templates from the API.
Your full request URL will look like:{{api_endpoint}}api/wpbox/getTemplates?token={{token}}
Query Parameters:
token(string, required): The authentication token.
Response:
Status: 200 OK
Body: Returns a list of template objects for the authenticated account.
{{token}}Successful response
Successful response
Last updated