curl --request PUT \
--url https://general-runtime.voiceflow.com/state/user/{userID} \
--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": {}
}
'Replace the current state of the user’s conversation.
curl --request PUT \
--url https://general-runtime.voiceflow.com/state/user/{userID} \
--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?