API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console
Entity · newsletter_templates

Newsletter Template Schema

Schema ID
newsletter_template
Collection
newsletter_templates
Permissions
  • Readnewsletter_template_view
  • Createnewsletter_template_create
  • Editnewsletter_template_edit
  • Deletenewsletter_template_delete

Fields

Newsletter Template Schema

newsletter_templates4 permissions

Schema for reusable newsletter email templates

namestringrequired
1–200 characters
descriptionstringoptional
nullable
categorystringoptional
GENERALPRODUCT_UPDATEMAINTENANCESECURITY_ALERTWELCOMECUSTOM
Default: "GENERAL"
subjectstringrequired
1–500 characters
htmlContentstringrequired
min 1 characters
textContentstringoptional
nullable
tiptapContentobjectoptional
nullable
previewImageUrlstringoptional
nullable
variablesstring[]optional
Default: []
isDefaultbooleanoptional
Default: false
tagsstring[]optional
nullable

Standard endpoints

This resource follows the platform's generic CRUD contract. Read the conventions for pagination, idempotency, optimistic locking and audit. The most important endpoints:

  • GET /api/v1/newsletter_templates — List, paginated + filterable
  • GET /api/v1/newsletter_templates/<id> — Single entity
  • POST /api/v1/newsletter_templates — Create
  • PATCH /api/v1/newsletter_templates/<id> — Partial update
  • DELETE /api/v1/newsletter_templates/<id> — Soft delete
  • GET /api/v1/newsletter_templates/<id>/timeline — Audit + activities

Search