Get WhatsApp Templates
WhatsApp
Get WhatsApp Templates
Retrieves a list of WhatsApp templates for a specific phone ID
GET
Get WhatsApp Templates
Description
This endpoint allows you to retrieve a paginated list of all WhatsApp templates available for a specific Phone ID. Templates can be filtered by status and include details such as name, category, language, and status.Headers
string
required
Your API key for authentication.
string
required
Your workspace ID for authentication.
Path Parameters
string
required
The unique Phone ID associated with your WhatsApp Business account. You can find this on the Zixflow WhatsApp Settings page or by calling the Get WhatsApp Accounts endpoint.
Query Parameters
integer
The maximum number of templates to return in the response. Default is 10.
integer
The number of templates to skip before starting to return results. Used for pagination. Default is 0.
Response
boolean
Indicates whether the API call was successful.
string
Success or error message from the API.
object
The template list response containing:
array
An array of WhatsApp template objects, each containing:
string
The name of the WhatsApp template.
string
The language code of the template (e.g., “en”, “en_US”).
string
The category of the template. Possible values: “MARKETING”, “UTILITY”, “AUTHENTICATION”.
string
The approval status of the template. Possible values: “APPROVED”, “PENDING”, “REJECTED”.
array
An array of template components that define the structure of the template.
object
Pagination information containing:
integer
The total number of templates available.
integer
The number of templates returned in this response.
integer
The page size used for this request.