Skip to main content
PATCH
Update Email

Update Email

You can update an email’s metadata and replace its body with either raw HTML or structured blocks.

Request

emailId
string
required
Email ID.
name
string
Email name.
subject
string
Email subject line.
previewText
string
Inbox preview text. Use null to clear it.
html
string
Raw HTML body. Provide either html or blocks, not both.
blocks
array
Structured email blocks. Provide either blocks or html, not both. Put block styling under styles; top-level style keys like backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles.

Responses