Authorization: ********************curl --location --request GET '/api/v1/whats_app_templates/' \
--header 'Authorization: <api-key>'[
{
"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
}
]
}
]