ListTemplatesOptions
Defined in: src/resources/templates.ts:43
Options for TemplatesResource.list.
Properties
Section titled “Properties”after?
Section titled “after?”
optionalafter?:string
Defined in: src/resources/templates.ts:59
Paging cursor for the next page.
before?
Section titled “before?”
optionalbefore?:string
Defined in: src/resources/templates.ts:61
Paging cursor for the previous page.
businessAccountId?
Section titled “businessAccountId?”
optionalbusinessAccountId?:string
Defined in: src/resources/templates.ts:45
The WABA id to list against; defaults to the configured one.
category?
Section titled “category?”
optionalcategory?:string
Defined in: src/resources/templates.ts:55
Filter by category.
fields?
Section titled “fields?”
optionalfields?:string[]
Defined in: src/resources/templates.ts:47
Specific Graph fields to request for each template.
language?
Section titled “language?”
optionallanguage?:string
Defined in: src/resources/templates.ts:57
Filter by language/locale.
limit?
Section titled “limit?”
optionallimit?:number
Defined in: src/resources/templates.ts:49
Maximum number of templates to return.
optionalname?:string
Defined in: src/resources/templates.ts:51
Filter by template name.
status?
Section titled “status?”
optionalstatus?: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.