Update an email message
Update an email message’s subject, preview text, sender, or LMX content.
expectedRevisionId matching the current contentRevisionId.
Draft status..Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the email message.
Body
The contentRevisionId you last fetched, or the emailMessageContentRevisionId you received when creating the campaign.
The sender username (without @ or domain). The team's sending domain is appended automatically.
Reply-to email. Must be empty or a valid email address.
CC email address. Requires the team to have CC/BCC enabled.
BCC email address. Requires the team to have CC/BCC enabled.
Language code for the email. Requires translation to be enabled for the team.
The rendering format of the email.
styled, plain The email body serialized as LMX. Styles must be embedded in the LMX <Style /> tag.
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.
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.
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.
The ID of the email message.
The email subject.
The email preview text.
The email sender name.
The email sender email address.
The email reply-to address.
The rendering format of the email.
styled, plain The email body serialized as LMX.
The current content revision. Pass this as expectedRevisionId on your next update.
The campaign this email message belongs to. Present only when the message belongs to a campaign (mutually exclusive with transactionalId).
The transactional email this email message belongs to. Present only when the message belongs to a transactional email (mutually exclusive with campaignId).
The email CC address. Only present when set.
The email BCC address. Only present when set.
Only present when set.
Fallback values for contact properties. Only present when set.
Fallback values for event properties. Only present when set.
Fallback values for data variables. Only present when set.
Non-fatal issues raised while compiling the submitted LMX. Only present on update responses when warnings were produced.

