List WhatsApp templates
Changed onReturns a paginated list of the WhatsApp templates you made in Design Studio and a separate array of the folders they belong to. Each item in the list is a summary that includes the template's Meta approval status. To see a template's content, category, language, recipient, and sender, get the template.
The list doesn't include templates you created in your Meta account outside of Design Studio.
Request
- Base URLhttps://api.customer.io
- URLhttps://api.customer.io/v1/design_studio/whatsapp
- Authnone declared
Query parameters
The page number of results you want to display. Use with limit.
The maximum number of results per page.
Filter by parent folder. Must reference an existing folder. If not set, the response filters by the root level directory.
To list only items in the root folder, leave parent_folder_id unset and only set direct_descendants_only to true.
When true, the response includes only the immediate children of the parent folder. When false, it includes the parent folder's entire subtree.
Return records created before this time. Must be a unix timestamp.
Return records created after this time. Must be a unix timestamp.
Return records updated before this time. Must be a unix timestamp.
Return records updated after this time. Must be a unix timestamp.
Response
Successful response
Example response
{
"whatsapp": [
{
"name": "Order shipped",
"status": "APPROVED",
"created": 1790000000,
"updated": 1790000000
}
],
"folders": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Product Announcements",
"parent_folder_id": null,
"created": 1714732800,
"updated": 1714732800
}
],
"meta": {
"filters": {
"parent_folder_id": "123e4567-e89b-12d3-a456-426614174000",
"direct_descendants_only": true,
"sort_by": "created",
"sort_order": "desc",
"created_before": 1714732800,
"created_after": null,
"updated_before": null,
"updated_after": null
}
}
}Changes
- info
endpoint added
- info