General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contact Notes
Agent Snapshots
WhatsApp Templates
Get WhatsApp template details
Returns details for a specific WhatsApp template
GET
/
whatsapp_templates
/
{template_id}
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_templates/{template_id} \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"id": "template-123abc",
"name": "appointment_reminder",
"language_code": "en_US",
"category": "UTILITY",
"status": "approved",
"content": "Hello {{1}}, your appointment is confirmed for {{2}}.",
"parameter_count": 2,
"components": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Authorizations
API key required for all endpoints
Path Parameters
Response
200
application/json
WhatsApp template details
The response is of type object
.
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_templates/{template_id} \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"id": "template-123abc",
"name": "appointment_reminder",
"language_code": "en_US",
"category": "UTILITY",
"status": "approved",
"content": "Hello {{1}}, your appointment is confirmed for {{2}}.",
"parameter_count": 2,
"components": {},
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Assistant
Responses are generated using AI and may contain mistakes.