List WhatsApp templates
GET/inboxes/:inbox_id/templates
Approved WhatsApp templates for one inbox, with how many body variables each expects.
Call it before sending a template: name and body_variable_count are what you
need to build the send. Only templates with status: approved can be sent.
A non-WhatsApp inbox returns an empty list rather than an error, so a client can call this uniformly.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 503
Templates returned.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No token, an expired token, or a credential that has been revoked.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
Refused. Either the credential does not hold the scope this endpoint needs (code: insufficient_scope), or the account's IP allow-list does not include the calling address (code: ip_not_allowed).
Response Headers
Correlation id for this request. Quote it when reporting a problem.
No such resource in this account.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
The request was valid but conflicts with the current state.
Response Headers
Correlation id for this request. Quote it when reporting a problem.
A dependency is temporarily unavailable, or a required index is still building. Safe to retry.
Response Headers
Correlation id for this request. Quote it when reporting a problem.