Create exit path
POST
Create exit 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

playbookID
string
required

The ID of the playbook to add the exit path to.

name
string
required

The name of the exit path, trimmed. Use Latin letters, digits, spaces, hyphens and underscores, as the editor does: the runtime turns the name into the snake_case name of the exit tool the model calls.

description
string

The exit condition: the model reads it to decide when to leave the playbook through this path.

requiredVariables
object[]

The variables or entities the model must fill before it can leave through this path, in order.

messages
object

What the agent says as it leaves through this path. Send only a message ID that nothing else uses: no other step in any workflow, no reprompt, no agent and no playbook. For the same words in a second place, create a new message with that text.

Response

201 - application/json

Returns the created exit path, including the ID assigned to it.

path
object
required
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.