Authorizations
API key required for all endpoints
Path Parameters
Response
WhatsApp template details
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_templates/{template_id} \
--header 'X-API-Key: <api-key>'
{
"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,
"business_account_id": "123456789012345",
"whatsapp_config_ids": [
"config-123abc",
"config-456def"
],
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "<string>",
"example": {},
"buttons": [
{}
]
}
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Returns details for a specific WhatsApp template
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_templates/{template_id} \
--header 'X-API-Key: <api-key>'
{
"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,
"business_account_id": "123456789012345",
"whatsapp_config_ids": [
"config-123abc",
"config-456def"
],
"components": [
{
"type": "HEADER",
"format": "TEXT",
"text": "<string>",
"example": {},
"buttons": [
{}
]
}
],
"metadata": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
API key required for all endpoints
WhatsApp template details
Show child attributes
Was this page helpful?