Entity · newsletter_campaigns
Newsletter Campaign Schema
Felder
Newsletter Campaign Schema
Schema for newsletter email campaigns with A/B testing support
name
1–200 Zeichen
description
nullable
status
Werte
DRAFTSCHEDULEDSENDINGPAUSEDSENTCANCELLEDFAILEDDefault: "DRAFT"
templateId
nullable
listIds
min 1 Items
excludeListIds
Default: []
subject
1–500 Zeichen
htmlContent
min 1 Zeichen
textContent
nullable
tiptapContent
nullable
fromName
max 200 Zeichennullable
fromEmail
nullable
replyTo
nullable
emailAccountId
nullable
scheduledAt
nullable
sentAt
nullable
completedAt
nullable
abTest
nullable
enabled
Default: false
testType
Werte
SUBJECTCONTENTFROM_NAMEvariantB
nullable
testPercentage
5 – 50Default: 20
winnerCriteria
Werte
OPEN_RATECLICK_RATEDefault: "OPEN_RATE"
waitHours
1 – 72Default: 4
winner
Werte
ABnullable
testStartedAt
nullable
winnerPickedAt
nullable
stats
nullable
totalRecipients
≥ 0Default: 0
sent
≥ 0Default: 0
delivered
≥ 0Default: 0
opened
≥ 0Default: 0
uniqueOpened
≥ 0Default: 0
clicked
≥ 0Default: 0
uniqueClicked
≥ 0Default: 0
bounced
≥ 0Default: 0
unsubscribed
≥ 0Default: 0
complained
≥ 0Default: 0
failed
≥ 0Default: 0
tags
nullable
Keine Felder passen zum Filter.
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/newsletter_campaigns— Liste, paginiert + filterbarGET /api/v1/newsletter_campaigns/<id>— Einzelne EntityPOST /api/v1/newsletter_campaigns— AnlegenPATCH /api/v1/newsletter_campaigns/<id>— Teil-UpdateDELETE /api/v1/newsletter_campaigns/<id>— Soft-DeleteGET /api/v1/newsletter_campaigns/<id>/timeline— Audit + Aktivitäten