Skip to main content
PUT
/
state
/
user
/
{userID}
Update conversation state
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": {}
}
'

Authorizations

authorization
string
header
required

Voiceflow Dialog Manager API key (VF.DM)

Headers

projectID
string
required

ID of the target Voiceflow project.

Path Parameters

userID
string
required

An ID which uniquely identifies the user having the conversation.

Maximum string length: 128

Body

application/json
stack
object[]
required
variables
object
required
storage
object
required
turn
object

Response

200 - undefined