Email templates

Get email template

Changed on

Get one email template in full: its block document (BLOCKS) or HTML source (CODE), the rendered HTML and text, variables and sender picks. Edit what you read and send it back with email_templates_update.

get/api/v1/email-templates/{templateId}

Request

  • Base URL
    https://www.useboom.ai
  • Auth
    HTTP bearer

Path parameters

templateIdstring required

Email template id.

Response

Success

idstring required
namestring required
subjectstring required
status'DRAFT' | 'PUBLISHED' required

Only a PUBLISHED template can be sent by a journey.

authoringMode'BLOCKS' | 'CODE' required

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

updatedAtstring required

ISO timestamp.

documentunknown required
htmlstring nullable required

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

renderedHtmlstring required

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

textstring nullable required

The plain-text part.

fromSenderIdstring nullable required
replyToSenderIdstring nullable required

Changes