Skip to content

ListTemplatesOptions

Defined in: src/resources/templates.ts:43

Options for TemplatesResource.list.

optional after?: string

Defined in: src/resources/templates.ts:59

Paging cursor for the next page.


optional before?: string

Defined in: src/resources/templates.ts:61

Paging cursor for the previous page.


optional businessAccountId?: string

Defined in: src/resources/templates.ts:45

The WABA id to list against; defaults to the configured one.


optional category?: string

Defined in: src/resources/templates.ts:55

Filter by category.


optional fields?: string[]

Defined in: src/resources/templates.ts:47

Specific Graph fields to request for each template.


optional language?: string

Defined in: src/resources/templates.ts:57

Filter by language/locale.


optional limit?: number

Defined in: src/resources/templates.ts:49

Maximum number of templates to return.


optional name?: string

Defined in: src/resources/templates.ts:51

Filter by template name.


optional status?: string

Defined in: src/resources/templates.ts:53

Filter by status.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.