Create path
POST
Create path

Authorizations

Authorization
string
header
required

Voiceflow bearer token

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

name
string
required

The name of the exit path, referenced by the function code when returning which path to take.

functionID
string
required

The ID of the function this path belongs to.

label
string

The display label shown for this path in the Voiceflow UI; falls back to name when null.

Response

201 - application/json

Creates the exit path and returns it with its generated ID and the function it belongs to. The name is the value the function code returns to send the workflow down this branch.

path
object
required

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