Skip to main content

List a WhatsApp number's templates

GET 

/v1/agents/:agentId/connections/:connectionId/whatsapp-templates

x-scope: "whatsapp:read"
x-rate-limit-per-minute: 10

Every template of one of the agent's WhatsApp numbers, read live from Meta, whatever its status: one item per language version, sorted by name, then language. Only approved templates can be sent. Each item says what POST /v1/whatsapp/templates must fill in: the body and header parameter keys in order, the header's format, and each button's index and the field that carries its value. It lists up to 100 templates.

Because it calls Meta every time, this endpoint allows 10 requests a minute per key, counted apart from your other calls: keep the list, and read it again after your templates change. A connection that isn't a WhatsApp number is 404 not_found; a disconnected one is 409 connection_inactive, and one whose access Meta withdrew is 409 connection_needs_reconnection (reconnect it in the dashboard; retrying won't help). When Meta doesn't return the templates (an outage, a timeout or its own rate limit), the call is 503 meta_unavailable: retry with backoff.

Request​

Responses​

Every template of the number, up to the limit above.

Response Headers
    X-Correlation-ID

    Correlation id for this request — paste into support tickets.