Skip to main content
POST
Generate a journey graph from a prompt

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Body

application/json
intent
string
required

Plain-English description of the journey to build.

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

Channels the tenant has connected. Only these get send nodes; omit for the default set.

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

Brand tone hint, e.g. friendly, formal, urgent.

Maximum string length: 120

Response

200 - application/json

Generated journey draft (not persisted)

Generated journey draft (not persisted)

data
object
meta
object