Use this method to return every variable value captured in an ongoing conversation.
Name | Object attribute | Type | Description | Default value |
---|---|---|---|---|
variableConfiguration | Object | |||
revealValues | String | Whether obfuscated variable values should be returned or not. Accepted values: true , false |
false |
This method has no optional parameters.
This method calls the Chat API’s GET /conversation/variables
endpoint. It returns a Promise with the API response data. Please refer to the Responses section of the endpoint on the Chat API Routes page for the response format.
var variableConfiguration = {
revealValues:true
}
chatbot.api.getVariables(variableConfiguration);