DELETE
/
whatsapp_templates
/
{template_id}
Delete a WhatsApp template
curl --request DELETE \
  --url https://app.kapso.ai/api/v1/whatsapp_templates/{template_id} \
  --header 'X-API-Key: <api-key>'
{
"data": {
"id": "template-123abc",
"name": "old_promotion",
"language_code": "en_US",
"category": "MARKETING",
"status": "removed",
"business_account_id": "123456789012345",
"created_at": "2024-01-10T10:00:00Z",
"updated_at": "2024-01-15T14:30:00Z"
}
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

template_id
string<uuid>
required

Response

Template deleted successfully (returns updated template with removed status)

data
object