Skip to main content
GET
Listar message templates del workspace

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
string<uuid>
required

Identificador del workspace multi-tenant.

Query Parameters

channel
enum<string>

Canal a filtrar. Actualmente solo se soporta whatsapp.

Available options:
whatsapp

Response

Listado de message templates del workspace

id
string
required

Identificador del template en Kapso.

channel
enum<string>
required

Canal de mensajería del template.

Available options:
whatsapp
name
string
required

Nombre normalizado del template (snake_case, solo letras, números y guiones bajos).

category
enum<string>
required

Categoría del template según la clasificación de WhatsApp Business API.

Available options:
utility,
marketing,
authentication
status
string
required

Estado de aprobación del template (ej. approved, pending, rejected).

language
string
required

Código de idioma del template (ej. es_MX, es_ES).

body
string
required

Texto del cuerpo del template. Las variables se representan con nombre, ej. {{nombre}}.