v1

latestOpenAPI 3.1.02026-07-22750642.5 KB
Journeys

Create draft

Create a new draft journey on an initiative from a full graph. The draft is editable and does not run until published (which is done in the app). Omit node positions and the server lays the graph out automatically.

post/api/v1/journeys

Request body

initiativeIdstring required

The initiative to attach the new draft journey to.

Response

Success

idstring required

Journey (workflow version) id.

initiativeIdstring required

The initiative this journey belongs to.

status'DRAFT' | 'PUBLISHED' | 'STOPPED' required

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

versioninteger required

Version number within the initiative.