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

Campaign Email Template Schema

Schema-ID
campaign_email_template
Collection
campaign_email_templates
Permissions
  • Lezencampaign_email_template_view
  • Aanmakencampaign_email_template_manage
  • Wijzigencampaign_email_template_manage
  • Verwijderencampaign_email_template_manage

Velden

Campaign Email Template Schema

campaign_email_templates4 permissions

Reusable email content template for SEND_EMAIL / SEND_EMAIL_SEQUENCE campaign actions. Stores subject, HTML body and optional Tiptap JSON for round-tripping into the rich-text editor.

namestringvereist
1–200 tekens
descriptionstringoptioneel
max. 2000 tekensnullable
subjectstringvereist
1–500 tekens
htmlContentstringvereist
max. 200000 tekens
contentModestringoptioneel

How the body is edited/rendered: RICH_TEXT round-trips through the Tiptap editor, RAW_HTML stores pasted markup verbatim (external email templates). Absent on legacy templates — consumers fall back to sniffing the markup.

RICH_TEXTRAW_HTML
nullable
tiptapContentobjectoptioneel
nullable
fromEmailstringoptioneel
max. 320 tekensnullable
tagsstring[]optioneel
Default: []
isSystembooleanoptioneel

System-provided templates cannot be edited or deleted.

Default: falseread-only

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

Zoeken