Skip to main content
POST
Add a branch

Autorizaciones

Authorization
string
header
requerido

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parámetros de ruta

flow_id
string
requerido

Cuerpo

application/json

Request to add a branch to a router step.

stepName
string
requerido

Router step name

branchName
string
requerido

Name for the new branch

branchIndex
integer
requerido

Position to insert the branch

conditions
((BranchTextCondition · object | BranchNumberCondition · object | BranchDateCondition · object | BranchSingleValueCondition · object)[])[] | null

Branch conditions as OR-groups of AND-groups. Outer list = OR (any group true triggers the branch), inner list = AND (all conditions in the group must be true). Omit to use the default empty condition.

Respuesta

Successful Response

Flow response.

id
string
requerido
created
string<date-time>
requerido
updated
string<date-time>
requerido
name
string | null
status
enum<string> | null
Opciones disponibles:
ENABLED,
DISABLED
flow_category
enum<string> | null
Opciones disponibles:
post_call,
during_call,
pre_call,
call_launcher,
empty
trigger
TriggerResponse · object | null

Trigger definition.

produced_variables
string[]
consumed_variables
string[]