Skip to main content
GET
Get variable

Authorizations

Authorization
string
header
required

Voiceflow bearer token

Path Parameters

variableID
string
required

The ID of the variable 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 variable, with the name the function code uses to reference it, whether it is an input or an output, and the ID of the function that declares it.

variable
object
required