v1

latestOpenAPI 3.1.02026-07-22750642.5 KB
Journeys

Connect nodes

Wire an edge from one node to another on a given output handle (the emitted signal, e.g. SENT, REPLIED, YES, case:<id>). A handle can wire to only one node.

post/api/v1/journeys/{journeyId}/edges

Path parameters

journeyIdstring required

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

Request body

fromstring required

Source node id.

tostring required

Target node id.

sourceHandlestring required

The source node output handle this edge fires on.

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.