1. Home
  2. Kore.ai Conversational Platform
  3. SDKs & APIs
  4. Using Kore.ai APIs
  5. Bot Variables Export API

Bot Variables Export API

Exports global and content variables from a bot.

POST https://{{host}}/api/1.1/public/builder/stream/{{stream_id}}/variables/export

Authorization

Invoke the API with JWT in the header with the following syntax:

auth: {{JWT}}

Response Content Type

application/JSON

Query Parameters

Parameter Description
host Environment URL, for example, https://bots.kore.ai
stream_id Bot ID. You can access it from the General Settings page of the bot.

Sample Request

curl -X POST \

  https://{{host}}/api/1.1/public/builder/stream/{{stream_id}}/variables/export \

  -H 'accept: application/json, text/plain, */*' \

  -H 'auth: YOUR_JWT_ACCESS_TOKEN' \

  -H 'cache-control: no-cache' \

  -H 'content-type: application/json' \
Was this article helpful to you? Yes No