Skip to main content
POST
Create Email Template

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Body

application/json
name
string
required
Maximum string length: 255
subject
string
required
body
string
required
bodyFormat
enum<string>
default:TIPTAP_JSON

How an email template's body is encoded.

TIPTAP_JSON is what the composer authors and is what every email surface can load natively. HTML is for markup pasted in from elsewhere — it is parsed into the editor on load, so it round-trips as content rather than markup.

Available options:
TIPTAP_JSON,
HTML

Response

Successful Response

id
string
required
name
string
required
subject
string
required
createdDate
string<date-time>
required
body
string
required
bodyFormat
enum<string>
required

How an email template's body is encoded.

TIPTAP_JSON is what the composer authors and is what every email surface can load natively. HTML is for markup pasted in from elsewhere — it is parsed into the editor on load, so it round-trips as content rather than markup.

Available options:
TIPTAP_JSON,
HTML
createdByProviderId
string | null
createdByProviderName
string | null
updatedDate
string<date-time> | null