List approved templates for a WhatsApp channel
Returns the approved WhatsApp templates of one connection, with the parameter counts each template needs. Requires the read scope. Errors: 404 CHANNEL_CONNECTION_NOT_FOUND when the connection is unknown or belongs to another workspace, 422 DEVELOPER_INVALID_INPUT when channelConnectionId is not a UUID.
Responses
| Status | Meaning and codes |
|---|---|
| 200 | Approved templates. |
| 401 | undefined |
| 403 | undefined |
| 404 | undefined |
| 422 | undefined |
| 429 | undefined |
Success and handled error responses send Cache-Control: no-store and X-Correlation-ID (the resolved/generated UUID). Errors use application/problem+json and the reusable ProblemDetails schema below. Retry-After: 1 is sent only for RATE_LIMITED. Request examples read your key from a server environment variable; replace all fictional values.
Schemas and examples
ApiKeyAuthorizationBearer <token>Server-side API key. publicId is 12 lowercase base32 characters (a-z, 2-7); secret is 43 base64url characters from 32 random bytes. Use Authorization: Bearer <complete key>. The API key determines the workspace; requests cannot select another workspace. All public routes share 20 requests per second per key. See API-key authentication.
channelConnectionId*stringWhatsApp channel connection ID from GET /whatsapp-channels.
uuidX-Correlation-ID?stringOptional tracing ID. A UUID-shaped value is echoed in the response. Missing or invalid values are replaced with a generated UUID, not rejected.
Approved templates.
application/json- response
templates*array<>