Update exit path
PATCH
Update exit path

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

pathID
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).

playbookID
string
required

The ID of the playbook the exit path belongs to.

Body

name
string

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[]

Replaces the stored list, in order. Leave it out to keep it; send [] to remove every one.

messages
object

Replaces the stored messages whole. Send null to remove them; leave it out to keep them. 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

200 - application/json

Returns the updated exit path.

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.