v1

latestOpenAPI 3.1.02026-07-22750642.5 KB
Journeys

Update draft

Replace a draft journey's whole graph. Only drafts can be edited; published versions are frozen (edit a live journey in the app to fork a new draft). Omit node positions and the server lays the graph out automatically.

patch/api/v1/journeys/{journeyId}

Path parameters

journeyIdstring required

A draft journey id, or the initiative id (resolves to its current draft).

Request body

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.