List WhatsApp templates
List a WhatsApp channel's message templates, read live from WhatsApp, newest first (channelId from list_channels; filter by status). sendable says whether Raíz can send one (approved, with variables only in the body), parameterCount how many body values it needs, and a document, image or video header that each send also carries its file. A template is required to start a WhatsApp conversation with someone who has not written in the last 24 hours.
- Scopes: any one of
raiz:templates:read,raiz:templates:write - Credentials: an API key, a client-credentials token or a person's access token
- Effect: read-only; safe to retry
- Limits: response up to 1 MB
- CLI:
arbol raiz templates list· MCP tool:raiz_templates_list
GET
https://api.getarbol.com/v1/raiz/templatesAuthorization
Query parameters
- channelIdstringrequired
The WhatsApp channel whose business account's templates to list. Required: templates live in WhatsApp, per business account.
pattern: ^(?:chn_(?:[0-7][0-9a-hjkmnp-tv-z]{25}|(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))|(?:agc)_(?:[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}|[a-f0-9]{32}))$
Returns
200
Successful operation.
400
INVALID_INPUT: The request does not match the published schema.INVALID_CURSOR: The cursor is malformed or belongs to a different list.
404
NOT_FOUND: The requested operation does not exist.TEMPLATE_NOT_FOUND: The template does not exist in this channel's WhatsApp Business Account.RESOURCE_NOT_FOUND: The requested resource does not exist in this organization.
409
CHANNEL_NOT_READY: The channel is not connected yet, or this kind of traffic is not enabled on it.CHANNEL_TYPE_MISMATCH: This operation or field does not apply to this channel's type.
422
PROVIDER_REJECTED: The provider refused the request. Check the configuration and try again.
429
RATE_LIMITED: The request rate limit was exceeded. Try again later.WHATSAPP_RATE_LIMITED: WhatsApp is limiting messages from this number. Try again later.
502
OUTCOME_UNKNOWN: The operation may have been applied; check its result before repeating it.
503
UPSTREAM_UNAVAILABLE: The upstream service could not complete the request.INTEGRATIONS_UNAVAILABLE: The organization's integrations cannot be read right now. Try again shortly.