Skip to main content
List Templates
Returns the templates associated with a WhatsApp Business Account. Results default to the 25 most recently created templates.

Query parameters

string
required
WhatsApp Business Account identifier returned by the connectors endpoint.
integer
default:"0"
Number of templates to skip. Use with limit for pagination.
integer
default:"25"
Number of templates to return. The maximum value is 25.
integer
Filters by template status: 0 Draft, 1 Pending, 2 Rejected, or 3 Approved.

Request

Omit offset, limit, and templateStatus to use the default listing behavior.

Response

string[]
Template definitions returned as JSON-encoded strings.
string
Human-readable summary of the returned and total template counts.
Each item in templates is JSON encoded inside a string. Parse each string before reading fields such as name, metaTemplateId, Status, or components.