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": {}
}Voiceflow Dialog Manager API key (VF.DM)
ID of the target Voiceflow project.
An ID which uniquely identifies the user having the conversation.
128Hide child attributes
Was this page helpful?