latestOpenAPI 3.1.02026-08-18893023.3 MB

c78a716de420

WhatsApp Templates

List all templates in project

Returns a paginated list of templates for the specified project. If no page token is supplied then the first `50` templates are returned in alphabetical order.
get/v1/projects/{projectId}/whatsapp/templates

Path parameters

projectIdstring required

The unique ID of the project. You can find this on the <a href="https://dashboard.sinch.com/">Sinch Dashboard</a>.

Query parameters

pageTokenstring

The page token if retrieving the next page from a previous query.

pageSizenumber

The page size requested.

fieldMaskstring[]

Field masks are a way for API callers to list the fields that a request should return.

filterStatesstring[]

Optionally query for sender by states.

filterStatusesstring[]

Optionally query for sender by statuses.

templateAnalyticsDateRange'DAY' | 'MONTH' | 'QUARTER' | 'WEEK'

The date range to retrieve template analytics for. Fallback to DAY if none is set.

templateNamestring

Optionally query for template by name. Will return all templates with names that begin with the query string.

Response

List of templates

OR