List templates
Changed onLists saved email templates for the authenticated company, optionally filtered by label. Templates are the company's saved email bodies: standalone templates plus the bodies behind campaigns and transactional emails, so dashboard-designed emails appear here too. A campaign's emailId points at its entry in this list, and any template ID can be passed as templateId when creating a campaign. Bodies are kept when their campaign or transactional email is deleted. Content snapshots of code-managed transactional emails (created by sends with trackAs) are not listed and cannot be used as templateId. Results are newest first and paginated: 50 per page by default, up to 100. Page with offset while pagination.hasMore is true.
Request
- Base URLhttps://api.sequenzy.com/api/v1
- URLhttps://api.sequenzy.com/api/v1/templates
- AuthHTTP bearer
Query parameters
Filter to reusable master designs (true) or everything else (false). Omit to list every body.
Optional label name filter. Only templates assigned this label are returned.
Templates per page. Values above 100 are clamped to 100.
Templates to skip before returning results.
Response
Templates returned
Example response
{
"success": true,
"templates": [
{
"id": "email_abc123",
"name": "[Template] Welcome",
"subject": "Welcome!",
"emailPreset": "branded",
"labels": [
"edm",
"template"
]
}
],
"pagination": {
"limit": 50,
"count": 50,
"total": 137,
"hasMore": true
}
}Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
added the new
undefinedenum value to the//response property for the response status
- warning