API · v1 · stabil
CODEMETA OSDeveloper Center
Konsole öffnen
Entity · campaign_email_templates

Campaign Email Template Schema

Schema-ID
campaign_email_template
Collection
campaign_email_templates
Permissions
  • Lesencampaign_email_template_view
  • Anlegencampaign_email_template_manage
  • Änderncampaign_email_template_manage
  • Löschencampaign_email_template_manage

Felder

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.

namestringerforderlich
1–200 Zeichen
descriptionstringoptional
max 2000 Zeichennullable
subjectstringerforderlich
1–500 Zeichen
htmlContentstringerforderlich
max 200000 Zeichen
contentModestringoptional

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
tiptapContentobjectoptional
nullable
fromEmailstringoptional
max 320 Zeichennullable
tagsstring[]optional
Default: []
isSystembooleanoptional

System-provided templates cannot be edited or deleted.

Default: falseread-only

Standard-Endpoints

Diese Resource folgt dem generischen CRUD-Vertrag der Plattform. Lesen Sie die Konventionen für Pagination, Idempotenz, Optimistic Locking und Audit. Die wichtigsten Endpoints:

  • GET /api/v1/campaign_email_templates — Liste, paginiert + filterbar
  • GET /api/v1/campaign_email_templates/<id> — Einzelne Entity
  • POST /api/v1/campaign_email_templates — Anlegen
  • PATCH /api/v1/campaign_email_templates/<id> — Teil-Update
  • DELETE /api/v1/campaign_email_templates/<id> — Soft-Delete
  • GET /api/v1/campaign_email_templates/<id>/timeline — Audit + Aktivitäten

Suche