Skip to main content
POST
Generate a multi-channel campaign draft from a brief

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
brief
string
required

Natural-language description of the campaign to generate.

Required string length: 8 - 4000
available_channels
enum<string>[]

Channels the tenant has connected. The model only drafts content for these; omit to allow all five.

Available options:
sms,
rcs,
whatsapp,
email,
push
tone
string

Brand voice hint, e.g. friendly, formal, playful.

Maximum string length: 120
region
string

Two-letter sender region for compliance hints (e.g. US, EU, IN).

Required string length: 2
inside_journey
boolean

When true, emit a single-channel draft (a journey already orchestrates fallback) instead of a fallback chain.

timezone
string

Operator's IANA workspace timezone (e.g. America/New_York) so relative send times resolve on their local clock. Defaults to UTC.

Required string length: 1 - 64

Response

200 - application/json

Generated campaign draft (not persisted)

Generated campaign draft (not persisted)

data
object
meta
object