latestOpenAPI 3.1.02026-08-18893023.3 MB
c78a716de420
WhatsApp Templates
List all templates for a specific name
Returns a paginated list of templates for the specified project and name. If no page token is supplied then the first `50` templates are returned in alphabetical order.
get/v1/projects/{projectId}/whatsapp/templates/{templateName}
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>.
templateNamestring required
The unique name of the template.
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.
templateAnalyticsDateRange'DAY' | 'MONTH' | 'QUARTER' | 'WEEK'
The date range to retrieve template analytics for. Fallback to DAY if none is set.
Response
List of templates with the same name