v4
OpenAPI 3.1.02026-07-3163216290.7 KBEmail messages
Update an email message
Update fields on an email message (subject, preview text, sender, LMX content). The campaign must be in draft status. Supply expectedRevisionId matching the current contentRevisionId — the server rejects mismatched revisions with 409.
post/v1/email-messages/{emailMessageId}
Request body
Example request
{
"expectedRevisionId": "clrev1s10n2i3d4e5f6g7h8",
"subject": "Spring product updates",
"previewText": "See what's new this season",
"fromName": "Acme Team",
"fromEmail": "hello",
"replyToEmail": "support@company.com",
"emailFormat": "styled",
"lmx": "<Paragraph>Hello, {firstName}!</Paragraph>",
"contactPropertiesFallbacks": {
"firstName": "there"
}
}Response
Email message updated.
Example response
{
"id": "cle5f7g9h1i3j5k7l9m1n3p5",
"campaignId": "clc4m6n8p0q2r4s6t8u0v2x4",
"subject": "Spring product updates",
"previewText": "See what's new this season",
"fromName": "Acme Team",
"fromEmail": "hello",
"replyToEmail": "support@company.com",
"emailFormat": "styled",
"lmx": "<Paragraph>Hello, {firstName}!</Paragraph>",
"contentRevisionId": "clrev1s10n2i3d4e5f6g7h8",
"updatedAt": "2025-06-29T07:47:39.370Z"
}