Skip to main content
POST
Create draft

Authorizations

Authorization
string
header
required

Organization API key, sent as Authorization: Bearer boom_org_....

Body

application/json
initiativeId
string
required

The initiative to attach the new draft journey to.

Minimum string length: 1
definition
object
required

The full journey graph. Drafts may be incomplete; run journeys_validate before publishing.

Response

Success

id
string
required

Journey (workflow version) id.

initiativeId
string
required

The initiative this journey belongs to.

status
enum<string>
required

DRAFT (editable), PUBLISHED (live, frozen), or STOPPED (retired).

Available options:
DRAFT,
PUBLISHED,
STOPPED
version
integer
required

Version number within the initiative.

Required range: -9007199254740991 <= x <= 9007199254740991
definition
object
required

The full journey graph.