Get Templates
GEThttps://a.klaviyo.com/api/templates/
Get all templates in an account.
Filter to request a subset of all templates. Templates can be sorted by the following fields, in ascending and descending order: id, name, created, updated
Returns a maximum of 10 results per page.
- Revision header
revision: 2024-06-15required- Scopes
templates:read- Rate limits
- Burst:
10/sSteady:150/m
Query parameters
For more information please visit API overview
For more information please visit API overview
Allowed field(s)/operator(s):id:any,equalsname:any,equalscreated:equals,greater-or-equal,greater-than,less-or-equal,less-thanupdated:equals,greater-or-equal,greater-than,less-or-equal,less-thanFor more information please visit API overview
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2024-06-15
Responses
200Success
Content type: application/json
Show 4 fields
The ID of template
Show 6 fields
The name of the template
editor_typehas a fixed set of values:- SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template
- SIMPLE: A rich text editor template
- CODE: A custom HTML template
- USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor
The rendered HTML of the template
The template plain_text
The date the template was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
The date the template was updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
Show 1 field
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json