emailTemplatesDuplicate
Duplicate an email template by id, creating an independent copy.
Auth · x-app-token · required permission manageEmailTemplate
Related: emailTemplatesAdd, emailTemplates
MUTATION
emailTemplatesDuplicate(_id: String!): EmailTemplateArguments
_id
String!
required
Template id to duplicate.
Returns
_id
String!
Unique template identifier.
name
String!
Display name in the template picker and emailTemplates search.
content
String
Rendered HTML content of the template.
blocksJson
String
Block-editor structure (JSON string) used to re-render and edit the template.
globalStyles
String
Shared CSS applied across the template's blocks.
status
String
Lifecycle status (e.g. draft, published). Set via emailTemplatesChangeStatus.
createdBy
String
User id that created this template.
createdAt
Date
When this template was created.
modifiedAt
Date
When this template was last modified.
Mutation
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦