Skip to main content
POST
Create email template

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Body

application/json

Email template creation data

_id
string
activity
object[]

For returning

append_signature
boolean
attachments
string[]
body
string
branded
object

Branded email editing

created_at
string
deleted_at
string
locked
boolean
n_attachments
integer

NumAttachments is len(Attachments). Computed on list/query; not stored.

n_bulk_sends
integer

NumBulkSends is the number of email_bulk_sends records for this template.

name
string
schedule
object[]
secure
boolean
subject
string
tags
string[]
team
string
type
string

Type is "Branded" when the template has branded sections, "Text" otherwise. Computed on list/query; not stored.

Response

Created email template

_id
string
activity
object[]

For returning

append_signature
boolean
attachments
string[]
body
string
branded
object

Branded email editing

created_at
string
deleted_at
string
locked
boolean
n_attachments
integer

NumAttachments is len(Attachments). Computed on list/query; not stored.

n_bulk_sends
integer

NumBulkSends is the number of email_bulk_sends records for this template.

name
string
schedule
object[]
secure
boolean
subject
string
tags
string[]
team
string
type
string

Type is "Branded" when the template has branded sections, "Text" otherwise. Computed on list/query; not stored.