Skip to main content
PUT
Update Template
Update template metadata, labels, or content. You can pass an email template ID; transactional email IDs and slugs are also resolved for compatibility.

Request

string
required
Template ID, transactional email ID, or transactional slug.
string
Updated template name.
string
Updated email subject line.
string | null
Updated inbox preview text. Send null to clear it.
string
Replacement HTML body. Use this or blocks, not both.
array
Replacement Sequenzy email blocks. Use this or html, not both. Put block styling under styles; top-level style keys like backgroundColor, backgroundOpacity, borderColor, borderWidth, and borderRadius are normalized into styles.
array
Replacement label names. Send an empty array to clear labels. Missing labels are created automatically. The API also accepts label as a compatibility alias.

Responses