v97

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-04231129815.9 KB
Templates

List templates

Lists 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. Returns the 50 most recently created bodies.

get/templates

Query parameters

labelstring

Optional label name filter. Only templates assigned this label are returned.

Response

Templates returned

successboolean
companyIdstring
emailLocalizationConfigobject

Example response

{
  "success": true,
  "templates": [
    {
      "id": "email_abc123",
      "name": "[Template] Welcome",
      "subject": "Welcome!",
      "labels": [
        "edm",
        "template"
      ]
    }
  ]
}