Skip to main content
POST
Publish a transactional email draft
The transactional email’s current draft email message is published. The draft becomes the published version and the draft is cleared. After publishing, use the returned id as transactionalId with Send a transactional email to send the email.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

transactionalId
string
required

The ID of the transactional email.

Response

Transactional email published.

id
string
required

The ID of the transactional email.

name
string
required

The name of the transactional email.

draftEmailMessageId
string | null
required

The ID of the draft email message. null if there is no draft version.

publishedEmailMessageId
string | null
required

The ID of the published email message. null if there is no published version.

transactionalGroupId
string | null
required

The ID of the group this transactional email belongs to.

createdAt
string<date-time>
required

ISO 8601 timestamp for when the transactional email was created.

updatedAt
string<date-time>
required

ISO 8601 timestamp for when the transactional email was last updated.

dataVariables
string[]
required

Data variable names used by the published email. Empty for unpublished transactional emails.

Last modified on July 20, 2026