Templates
Create template
Creates a reusable email template from exactly one of prompt, HTML, or Sequenzy blocks.
post/templates
Request body
Response
Template created
Example response
{
"success": true,
"template": {
"labels": [
"edm",
"template"
]
},
"warnings": [
"blocks[0].styles.color is not a supported field and was ignored. Button label color comes from the block-level `buttonTextColor` field. Supported styles fields: backgroundColor, backgroundOpacity, bleed, borderColor, borderRadius, borderWidth, paddingBottom, paddingLeft, paddingRight, paddingTop, textAlign, textColor."
]
}