Exports global and content variables from a bot.
To use this API, app needs the Bot Builder API scope of Export Variables.
POST https://{{host}}/api/{{version}}/public/builder/stream/{{BotID}}/variables/export
Query Parameters
| Parameter | Description | 
|---|---|
| host | Environment URL, for example, https://bots.kore.ai | 
| BotID | Bot ID. You can access it from the General Settings page of the bot. | 
Authorization
Invoke the API with JWT in the header with the following syntax:
auth: {{JWT}}
Response Content Type
application/JSON
Sample Request
curl -X POST \
  https://{{host}}/api/1.1/public/builder/stream/{{BotId}}/variables/export \
  -H 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
		Sample Response
[
    {
        "key": "Global",
        "value": "Globalkey-prePopulated",
        "hint": "",
        "variableType": "env",
        "scope": "prePopulated"
    },
    {
        "key": "Lang",
        "variableType": "locale",
        "scope": "prePopulated",
        "localeData": {
            "en": {
                "value": "english language prompt",
                "hint": ""
            }
        }
    }
]
		