Skip to main content
id
string
required

The ID of the email template

name
string
required

The name of the email template

subject
string
required

The subject of the email template. Variables are supported via {{ variableName }}

body
string | null
required

The body of the email template. May be null. Variables are supported via {{ variableName }}

kind
enum<string>
required

The kind of the email template

Available options:
plaintext,
html,
unlayer,
old_editor,
editor
template_html
string | null
required

The HTML representation of the rich text email. May be null

template_json
any | null
required

The JSON representing the rich text email template. May be null

new_template_json
any | null
required

The new unlayer JSON template. May be null

new_template_html
string | null
required

The new unlayer HTML template. May be null

attachments
object[]
required

An array of attachments associated with the email template

metadata
object
required

Arbitrary metadata associated with this email template

created_at
string
required

The time when the email template was created in ISO 8601 format

enabled_at
string | null

The time when the email template was enabled in ISO 8601 format