Skip to main content
GET
Get email template

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Path Parameters

templateId
string
required

Email template id.

Minimum string length: 1

Response

Success

id
string
required
name
string
required
subject
string
required
status
enum<string>
required

Only a PUBLISHED template can be sent by a journey.

Available options:
DRAFT,
PUBLISHED
authoringMode
enum<string>
required

BLOCKS = block builder; CODE = hand-written HTML.

Available options:
BLOCKS,
CODE
updatedAt
string
required

ISO timestamp.

variables
object[]
required

The {{path}} variables the subject and body use.

document
any | null
required

BLOCKS templates: the block document, in the same shape email_templates_update accepts as document. Null for CODE templates, and for a legacy template saved before the block builder.

html
string | null
required

CODE templates: the HTML source as authored. Null for BLOCKS templates.

renderedHtml
string
required

The deliverable HTML, with {{path}} variables still literal (they resolve at send).

text
string | null
required

The plain-text part.

fromSenderId
string | null
required
replyToSenderId
string | null
required