Generate a multi-channel campaign draft from a brief
Turn a plain-English campaign brief into a structured, multi-channel draft — per-channel copy, a recommended send time, and a fallback chain — that the composer renders as editable fields. Nothing is persisted; the operator reviews the draft and commits it via POST /api/v1/campaigns. Pass the tenant’s connected channels, brand tone, sender region, and workspace timezone so relative send times and compliance hints resolve correctly. Returns 503 when no AI provider is configured and 422 when the model output can’t be parsed.
Authorizations
Dashboard JWT token from Clerk
Body
Natural-language description of the campaign to generate.
8 - 4000Channels the tenant has connected. The model only drafts content for these; omit to allow all five.
sms, rcs, whatsapp, email, push Brand voice hint, e.g. friendly, formal, playful.
120Two-letter sender region for compliance hints (e.g. US, EU, IN).
2When true, emit a single-channel draft (a journey already orchestrates fallback) instead of a fallback chain.
Operator's IANA workspace timezone (e.g. America/New_York) so relative send times resolve on their local clock. Defaults to UTC.
1 - 64