Templates

Create template

Creates a reusable email template from HTML or Sequenzy blocks.

post/templates

Request body

namestring required
subjectstring required
htmlstring

Raw HTML body. Mutually exclusive with blocks.

blocksobject[]

Sequenzy email blocks. Mutually exclusive with html.

labelsstring[]

Label names to assign. Missing labels are created automatically.

labelstring[]

Compatibility alias for labels.

Response

Template created

successboolean

Example response

{
  "success": true,
  "template": {
    "labels": [
      "edm",
      "template"
    ]
  }
}

Changes