Referencia de la API
Listar plantillas
Devuelve las plantillas de WhatsApp de la empresa.
GET/api-list-templates
En esta página
Solicitud#
GEThttps://api.comdig.co/v1/api-list-templates
Permiso requerido: templates:list
Parámetros de consulta#
| Nombre | Tipo | Requerido | Descripción |
|---|---|---|---|
status | string | No | Filtra por estado de la plantilla.Valores: APPROVED | PENDING | REJECTED | allPor defecto: APPROVED |
Ejemplo#
curl -X GET "https://api.comdig.co/v1/api-list-templates?status=APPROVED" \
-H "X-API-Key: $COMDIG_API_KEY"Respuestas#
200Lista de plantillas.
JSON
{
"success": true,
"templates": [
{
"id": "c3d4e5f6-a7b8-4c9d-8e0f-1a2b3c4d5e6f",
"name": "carrito_abandonado",
"language": "es",
"category": "MARKETING",
"status": "APPROVED",
"has_header": false,
"has_body": true,
"has_footer": false,
"has_buttons": true,
"body_variables_count": 2,
"created_at": "2026-10-02T15:20:00Z"
}
],
"count": 1
}