Skip to main content
GET
Get function

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

functionID
string
required

The ID of the function to operate on.

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

Returns a single function, including the JavaScript source that runs when it is called and the ordered list of path IDs that controls the display order of its exit paths.

function
object
required