API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen
Entity · newsletter_templates

Newsletter Template Schema

Schema-ID
newsletter_template
Collection
newsletter_templates
Permissions
  • Lezennewsletter_template_view
  • Aanmakennewsletter_template_create
  • Wijzigennewsletter_template_edit
  • Verwijderennewsletter_template_delete

Velden

Newsletter Template Schema

newsletter_templates4 permissions

Schema for reusable newsletter email templates

namestringvereist
1–200 tekens
descriptionstringoptioneel
nullable
categorystringoptioneel
GENERALPRODUCT_UPDATEMAINTENANCESECURITY_ALERTWELCOMECUSTOM
Default: "GENERAL"
subjectstringvereist
1–500 tekens
htmlContentstringvereist
min. 1 tekens
textContentstringoptioneel
nullable
tiptapContentobjectoptioneel
nullable
previewImageUrlstringoptioneel
nullable
variablesstring[]optioneel
Default: []
isDefaultbooleanoptioneel
Default: false
tagsstring[]optioneel
nullable

Standaard-endpoints

Deze resource volgt het generieke CRUD-contract van het platform. Lees de conventies voor paginering, idempotentie, optimistic locking en audit. De belangrijkste endpoints:

  • GET /api/v1/newsletter_templates — Lijst, gepagineerd + filterbaar
  • GET /api/v1/newsletter_templates/<id> — Enkele entity
  • POST /api/v1/newsletter_templates — Aanmaken
  • PATCH /api/v1/newsletter_templates/<id> — Gedeeltelijke update
  • DELETE /api/v1/newsletter_templates/<id> — Soft-delete
  • GET /api/v1/newsletter_templates/<id>/timeline — Audit + activiteiten

Zoeken