Get All Variables

In order to retrieve all the variables in a Dialogue, you need to do an HTTP GET to the endpoint https://api.dialoguewise.com/api/dialogue/getvariables

URL Parameters

Parameter Description
dialogueName The dialogue Slug

Once the API is executed, it would return the list of variables used by your Dialogue in JSON like this:

{  
   "variables": [  
     {  
      "Name": "@myVariable1",  
      "Description": "This is the description for variable 1"  
    },  
    {  
      "Name": "@myVariable2",  
      "Description": "This is the description for variable 2"  
    }  
  ],  
  "error": ""  
}