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

string
required
Email ID.
string
Email name.
string
Email subject line.
string
Inbox preview text. Use null to clear it.
string
Raw HTML body. Provide either html or blocks, not both.
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