List Templates
List email templates, optionally filtered by a search term.
List email templates for the account. Results can be optionally filtered by a search term.
Scope: templates.read
Query Parameters
searchstringoptionalOptional search term to filter templates by name.
Response
Returns an array of objects with the following fields:
idintegeroptionalTemplate ID.
typestringoptionalTemplate type (editor, html, url, or zip).
template_namestringoptionalTemplate name.
preview_imagestringoptionalPreview image URL.
preview_urlstringoptionalPreview URL.
processedintegeroptionalProcessing state flag.
Sample Response
200 OK
{
"data": [
{
"id": 789,
"type": "html",
"template_name": "Welcome email",
"preview_image": "",
"preview_url": "",
"processed": 1
}
]
}