Endpoint
GET
/v1/stable/event

List all events by project ID.

Request
Response

Authentication

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

Response

200 - application/json
events
object[]
required
StableEvent — see its attributes above
Endpoint
POST
/v1/stable/event

Create a new event.

Request
Response

Authentication

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

Request body

description
string

What the event is for. Null when none was written.

name
string
required

The display name of the event. Must not match another event in this environment, ignoring case.

Minimum length: 1 · Maximum length: 255
requestName
string

The name a client sends to trigger the event, as payload.event.name of an event request. Letters, digits, underscores and $ only, at most 64 characters. Must not be used by another event in this environment. Defaults to the name with spaces turned into underscores and other characters dropped.

goesTo
object
required

What the agent does when the event arrives. flow runs the workflow named by workflowID. global_agent hands the conversation back to the agent to decide what to do next, and is only valid in an agent project. continue carries on the conversation where it was, for an event that only updates user info.

Available options: flow, global_agent, continue
StableEventGoesTo — see its attributes above
workflowID
string

The workflow to run, as a workflow ID from voiceflow_workflow.list. Required when goesTo is flow; leave it out for any other goesTo.

Response

201 - application/json
event
object
required
StableEvent — see its attributes above
Endpoint
GET
/v1/stable/event/{eventID}

Get an event by ID.

Request
Response

Authentication

Authorization
string
header
required

Voiceflow bearer token

Path parameters

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

Response

200 - application/json
event
object
required
StableEvent — see its attributes above
Endpoint
PATCH
/v1/stable/event/{eventID}

Update an event by ID.

Request
Response

Authentication

Authorization
string
header
required

Voiceflow bearer token

Path parameters

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

Request body

description
string

What the event is for. Null when none was written.

name
string

The display name of the event. Must not match another event in this environment, ignoring case. Renaming does not change requestName.

Minimum length: 1 · Maximum length: 255
requestName
string

The name a client sends to trigger the event. Letters, digits, underscores and $ only, at most 64 characters. Must not be used by another event in this environment. Changing it breaks any client still sending the old name.

goesTo
object
workflowID
string

The workflow to run, as a workflow ID from voiceflow_workflow.list. Only valid while goesTo is flow. Changing goesTo away from flow clears it.

Response

200 - application/json
message
string
required

A human-readable message confirming the update.

Endpoint
DELETE
/v1/stable/event/{eventID}

Delete an event by ID.

Request
Response

Authentication

Authorization
string
header
required

Voiceflow bearer token

Path parameters

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

Response

200 - application/json
message
string
required

A human-readable message confirming the deletion.

Schemas

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