Flow Routes & Branches

List Flow Step Routes

get

Retrieves a list of routes (legs) for a specific Route or Branch flow step. The flow_step identifier can be obtained from GET /api/v1/flow-versions/{flow_version}/steps.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_stepstringRequired

The flow step identifier.

Responses
get
/api/v1/flow-steps/{flow_step}/routes

Create Flow Step Route

post

Creates a new route (leg) on a Route or Branch flow step. Requires a name, and optionally accepts a first_step_id and filter_logic_operator. The flow_step identifier can be obtained from GET /api/v1/flow-versions/{flow_version}/steps.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_stepstringRequired

The flow step identifier.

Body
first_step_idstring · nullableOptional
filter_logic_operatorstringOptional
namestring · min: 1 · max: 255Required
Responses
post
/api/v1/flow-steps/{flow_step}/routes

Update Flow Step Route

put

Updates an existing route (leg) on a Route or Branch flow step. Accepts name, first_step_id, and filter_logic_operator. The flow_step identifier can be obtained from GET /api/v1/flow-versions/{flow_version}/steps.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_stepstringRequired

The flow step identifier.

routestringRequired

The route identifier.

Body
first_step_idstring · nullableOptional
filter_logic_operatorstringOptional
namestring · min: 1 · max: 255Optional
Responses
put
/api/v1/flow-steps/{flow_step}/routes/{route}

Delete Flow Step Route

delete

Permanently deletes a specific route (leg) from a Route or Branch flow step. The flow_step identifier can be obtained from GET /api/v1/flow-versions/{flow_version}/steps.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flow_stepstringRequired

The flow step identifier.

routestringRequired

The route identifier.

Responses
delete
/api/v1/flow-steps/{flow_step}/routes/{route}

Order Flow Step Route

post

Updates the display order of routes (legs) on a Route or Branch flow step. The flow_step identifier can be obtained from GET /api/v1/flow-versions/{flow_version}/steps.

Authorizations
AuthorizationstringRequired

API key passed in the Authorization header. Format: <api-key>

Path parameters
flowStepstringRequired

The flowStep identifier.

Responses
post
/api/v1/flow-steps/{flowStep}/routes/order

Last updated

Was this helpful?