emailTemplate
Fetch a single EmailTemplate by id.
Auth · x-app-token · required permission showEmailTemplates
Related: emailTemplates, emailTemplatesEdit
QUERY
emailTemplate(_id: String): EmailTemplateArguments
_id
String
Template id.
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.
Query
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦