Create variable
Create variable
Adds a function variable to its function, an input or output a function declares. The response carries the ID that later calls address it by.
POST
Create variable
Authorizations
Voiceflow bearer token
Query Parameters
The ID of the project to operate on.
The alias of the environment to operate on (e.g. main).
Body
application/json
Response
201 - application/json
Creates the function variable and returns it, including its new ID, whether it is an input or an output, and the functionID of the function that declares it.