πTemplates
This part of the documentation describes how to get templates via WhatsApp Business API.
Get template list
You can use the WhatsApp Business Management API to get a list of your existing message templates.
Get WhatsApp Templates
GET
https://api.whatso.net/v1/message_templates
Query Parameters
Name
Type
Description
email*
string
your email
phone_number_id*
string
your face-book phone number id
whatsapp_business_account_id*
string
your face-book business account id
access_token*
string
your face-book access token
{
"data": [
{
"name": "template_name",
"components": [
{
"type": "BODY",
"text": "Message Text",
"example": {
"body_text": [
[
"example parameter value"
]
]
}
}
],
"language": "en_US",
"status": "APPROVED",
"category": "ALERT_UPDATE",
"id": "5038022xxxxxxx"
}
],
"paging": {
"cursors": {
"before": "MAZDZD",
"after": "MjQZD"
},
"next": "https://graph.facebook.com/v14.0/"
}
}
Last updated