1. Templates
Wazapi
  • Raiz
    • Channels
      • List WhatsApp channels
    • Contacts
      • List contacts
      • Get a contact
      • Update a contact
      • Create or update a contact by external ID
    • Flows
      • List flows
      • Get a flow
      • Start a flow execution
    • Templates
      • List WhatsApp templates
        GET
      • Get a WhatsApp template by name
        GET
    • Messages
      • Send a WhatsApp message
      • List messages in a conversation
    • Operations
      • Get an asynchronous operation
    • Conversations
      • List conversations
      • Get a conversation
    • Webhooks
      • Receive an event from Wazapi
  • Esquemas
    • PaginationMeta
    • Channel
    • Contact
    • Flow
    • Template
    • Conversation
    • Message
    • Operation
    • WebhookEventType
    • WebhookEvent
    • Recipient
    • ContactWrite
    • MessageRequest
    • Error
  1. Templates

List WhatsApp templates

GET
/templates
Discover the templates available for sending via POST /messages with type=template. Defaults to APPROVED templates; pass status to inspect others. Each item exposes the variable shape (body_parameter_count and any named parameters) so integrations can build the parameters array with the exact count.

Requisição

Authorization
Bearer Token
Forneça seu token bearer no cabeçalho
Authorization
ao fazer requisições para recursos protegidos.
Exemplo:
Authorization: Bearer ********************
or
Parâmetros de Consulta

Respostas

🟢200TemplateList
application/json
Paginated templates
Bodyapplication/json

🟠401Error
🟠403Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/templates?after=&limit=&query=&channel_uuid=&status=' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Exemplo 1
{
    "data": [
        {
            "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
            "name": "string",
            "language": "string",
            "status": "APPROVED",
            "category": "AUTHENTICATION",
            "channel_uuid": "82940f04-367e-448c-ae9d-3ae74b17da5e",
            "variables": {
                "body_parameter_count": 0,
                "body_named_parameters": [
                    "string"
                ],
                "header": {
                    "format": "TEXT",
                    "has_variable": true
                },
                "has_dynamic_buttons": true
            },
            "created_at": "2019-08-24T14:15:22.123Z",
            "updated_at": "2019-08-24T14:15:22.123Z"
        }
    ],
    "meta": {
        "next_cursor": "string"
    }
}
Modificado em 2026-08-26 00:52:01
Página anterior
Start a flow execution
Próxima página
Get a WhatsApp template by name
Built with