Entity · campaign_email_templates
Campaign Email Template Schema
Velden
Campaign Email Template Schema
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.
name
1–200 tekens
description
max. 2000 tekensnullable
subject
1–500 tekens
htmlContent
max. 200000 tekens
contentMode
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.
Waarden
RICH_TEXTRAW_HTMLnullable
tiptapContent
nullable
fromEmail
max. 320 tekensnullable
tags
Default: []
isSystem
System-provided templates cannot be edited or deleted.
Default: falseread-only
Geen velden komen overeen met het filter.
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 + filterbaarGET /api/v1/campaign_email_templates/<id>— Enkele entityPOST /api/v1/campaign_email_templates— AanmakenPATCH /api/v1/campaign_email_templates/<id>— Gedeeltelijke updateDELETE /api/v1/campaign_email_templates/<id>— Soft-deleteGET /api/v1/campaign_email_templates/<id>/timeline— Audit + activiteiten