emailTemplatesAdd
Create a new email template.
Auth · x-app-token · required permission manageEmailTemplate
Related: emailTemplates, emailTemplatesEdit, emailTemplatesDuplicate
emailTemplatesAdd(name: String!, content: String, blocksJson: String, globalStyles: String): EmailTemplateArguments
Display name for the template picker and search.
Optional initial rendered HTML content.
Optional initial block-editor structure (JSON string).
Optional shared CSS applied across the template's blocks.
Returns
Unique template identifier.
Display name in the template picker and emailTemplates search.
Rendered HTML content of the template.
Block-editor structure (JSON string) used to re-render and edit the template.
Shared CSS applied across the template's blocks.
Lifecycle status (e.g. draft, published). Set via emailTemplatesChangeStatus.
User id that created this template.
When this template was created.
When this template was last modified.