Entity · campaign_email_templates
Campaign Email Template Schema
Fields
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 characters
description
max 2000 charactersnullable
subject
1–500 characters
htmlContent
max 200000 characters
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.
Values
RICH_TEXTRAW_HTMLnullable
tiptapContent
nullable
fromEmail
max 320 charactersnullable
tags
Default: []
isSystem
System-provided templates cannot be edited or deleted.
Default: falseread-only
No fields match the filter.
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/campaign_email_templates— List, paginated + filterableGET /api/v1/campaign_email_templates/<id>— Single entityPOST /api/v1/campaign_email_templates— CreatePATCH /api/v1/campaign_email_templates/<id>— Partial updateDELETE /api/v1/campaign_email_templates/<id>— Soft deleteGET /api/v1/campaign_email_templates/<id>/timeline— Audit + activities