Add port actions
POST
Add port actions

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

workflowID
string
required
stepID
string
required
portKey
string
required

Query Parameters

projectID
string
required

The ID of the project to operate on.

environmentAlias
string
required

The alias of the environment to operate on (e.g. main).

Body

actions
object[]
required

1 to 10 actions to add, in run order.

afterActionID
string

Add them after this action. Leave out afterActionID and atStart to add them at the end, before an action that ends the path.

atStart
enum<boolean>

Add them before every other action on this exit.

Available options: true
expectedActions
string[]
required

The IDs in this exit's actions from your last read, in order. Send [] when it has none.

to
string

The block the path goes to after the actions. Leave it out to keep the current one. Send null to clear it.

Response

201 - application/json

Returns what was written, the exit's step and port, and its link. If the last action ends the path, clearedTo names the block the exit led to before.

message
string
required

What was written.

stepID
string
required

The step that owns the exit, or the start node.

port
string
required
clearedTo
string

The block the exit continued to before this write. Dropped because the actions now end the path.

unresolvedReferences
object[]

References this write kept as literal text instead of binding, each with the reason. The write still succeeded.

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.