Create message template

Creates a new message template for the authenticated account. References the sending domain and footer by UUID. Supply either html_content (visual-editor HTML) or raw_html_content (custom raw HTML with use_raw_html_content set to true). If from_email or reply_to_email are supplied, their domain must match the sending domain of the referenced EDS.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
length between 2 and 255

Display name for the template.

uuid
required

Sending domain (EDS) UUID.

uuid
required
string
required
length between 2 and 255

Email subject line.

string | null

Optional preview text shown in inbox clients.

string | null

Standard visual-editor HTML body. Required unless raw_html_content is supplied.

string | null

Custom raw HTML body. Required when use_raw_html_content is true.

boolean

When true, raw_html_content is the body that sends.

boolean
string | null
string | null

Must match the sending domain of the referenced EDS.

string | null
string | null

Must match the sending domain of the referenced EDS.

Responses

401

Missing or invalid bearer token.

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json