Skip to main content
POST
Update an email message
Supply expectedRevisionId matching the current contentRevisionId.
The campaign or transactional email that owns this email message must be in Draft status..

Authorizations

Authorization
string
header
required

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

Path Parameters

emailMessageId
string
required

The ID of the email message.

Body

application/json
expectedRevisionId
string

The contentRevisionId you last fetched, or the emailMessageContentRevisionId you received when creating the campaign.

subject
string
previewText
string
fromName
string
fromEmail
string

The sender username (without @ or domain). The team's sending domain is appended automatically.

replyToEmail
string

Reply-to email. Must be empty or a valid email address.

ccEmail
string

CC email address. Requires the team to have CC/BCC enabled.

bccEmail
string

BCC email address. Requires the team to have CC/BCC enabled.

languageCode
string

Language code for the email. Requires translation to be enabled for the team.

emailFormat
enum<string>

The rendering format of the email.

Available options:
styled,
plain
lmx
string

The email body serialized as LMX. Styles must be embedded in the LMX <Style /> tag.

contactPropertiesFallbacks
object

Fallback values for contact properties, keyed by property name. Per-key merge: a string value sets the fallback, a null value deletes it, and keys omitted from the map are left unchanged.

eventPropertiesFallbacks
object

Fallback values for event properties, keyed by property name. Per-key merge: a string value sets the fallback, a null value deletes it, and keys omitted from the map are left unchanged.

dataVariablesFallbacks
object

Fallback values for data variables, keyed by variable name. Per-key merge: a string value sets the fallback, a null value deletes it, and keys omitted from the map are left unchanged.

Response

Email message updated.

id
string
required

The ID of the email message.

subject
string
required

The email subject.

previewText
string
required

The email preview text.

fromName
string
required

The email sender name.

fromEmail
string
required

The email sender email address.

replyToEmail
string
required

The email reply-to address.

emailFormat
enum<string>
required

The rendering format of the email.

Available options:
styled,
plain
lmx
string
required

The email body serialized as LMX.

contentRevisionId
string | null
required

The current content revision. Pass this as expectedRevisionId on your next update.

updatedAt
string<date-time>
required
campaignId
string

The campaign this email message belongs to. Present only when the message belongs to a campaign (mutually exclusive with transactionalId).

transactionalId
string

The transactional email this email message belongs to. Present only when the message belongs to a transactional email (mutually exclusive with campaignId).

ccEmail
string

The email CC address. Only present when set.

bccEmail
string

The email BCC address. Only present when set.

languageCode
string

Only present when set.

contactPropertiesFallbacks
object

Fallback values for contact properties. Only present when set.

eventPropertiesFallbacks
object

Fallback values for event properties. Only present when set.

dataVariablesFallbacks
object

Fallback values for data variables. Only present when set.

warnings
object[]

Non-fatal issues raised while compiling the submitted LMX. Only present on update responses when warnings were produced.

Last modified on July 20, 2026