GET List All Templates​
GET
/templates/all
Retrieve all published email templates (non-paginated) along with available smartcodes. Useful for template selection dropdowns where all published templates are needed at once.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Responses​
All published templates and available smartcodes.
application/json
JSON
{
"templates": [
{
"ID": 0,
"post_title": "string",
"post_content": "string",
"post_excerpt": "string",
"post_status": "string",
"post_type": "string",
"post_date": "string",
"post_modified": "string",
"design_template": "string"
}
],
"smartcodes": [
{
"key": "string",
"title": "string",
"shortcodes": {
"additionalProperties": "string"
}
}
]
}