curl --request PATCH \
--url https://general-runtime.voiceflow.com/state/user/{userID}/variables \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--header 'projectID: <projectid>' \
--data '{}'{
"stack": [
{
"diagramID": "<string>",
"storage": {},
"variables": {},
"nodeID": "<string>",
"name": null,
"commands": [
{
"type": "<string>"
}
],
"dynamicCommands": {}
}
],
"variables": {},
"storage": {},
"turn": {}
}Updates variables in the user’s state by merging with the properties in the request body.
curl --request PATCH \
--url https://general-runtime.voiceflow.com/state/user/{userID}/variables \
--header 'Content-Type: application/json' \
--header 'authorization: <api-key>' \
--header 'projectID: <projectid>' \
--data '{}'{
"stack": [
{
"diagramID": "<string>",
"storage": {},
"variables": {},
"nodeID": "<string>",
"name": null,
"commands": [
{
"type": "<string>"
}
],
"dynamicCommands": {}
}
],
"variables": {},
"storage": {},
"turn": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.voiceflow.com/llms.txt
Use this file to discover all available pages before exploring further.
Voiceflow API key
ID of the target Voiceflow project.
An ID which uniquely identifies the user having the conversation.
128Hide child attributes
Was this page helpful?