- messaging
- whatsapp_templates
- conversations
- contacts
- orders
- medias
- webhooks
List all templates
GET
/api/v1/whats_app_templates/
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/whats_app_templates/' \
--header 'Authorization;'
Responses
🟢200Success
application/json
Body
array of:
id
string
required
template_name
string
required
language
string
required
category
string
required
status
string
required
whats_app_business_account_id
integer
required
components
array [object {5}]
required
id
string
required
component_type
string
required
data_type
string
required
value
string
required
index
integer
required
Example
[
{
"id": "template_prefix_id_1",
"template_name": "Welcome Message",
"language": "en",
"category": "MARKETING",
"status": "approved",
"whats_app_business_account_id": 123,
"components": [
{
"id": "component_id_1",
"component_type": "body",
"data_type": "text",
"value": "Hello {{subscriber.name | fallback: 'there' | example: 'John'}}, welcome to our service!",
"index": 0
}
]
},
{
"id": "template_prefix_id_2",
"template_name": "Order Confirmation",
"language": "en",
"category": "TRANSACTIONAL",
"status": "approved",
"whats_app_business_account_id": 123,
"components": [
{
"id": "component_id_2",
"component_type": "body",
"data_type": "text",
"value": "Your order #{{order.number | example: '12345'}} has been confirmed.",
"index": 0
}
]
}
]
Modified at 2025-06-10 07:40:11