Skip to content

Bot Export – Status API

Gets the status of Bot Export request and also provides the download link of the bot export copy after the export is completed. Refer here for initiating Bot Export API.

Method GET
Endpoint https://{{host}}/api/public/bot/{{BotID}}/export/status
Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Bot Export
  • Admin Console: Bot Definition > Bot Export

Query Parameters

PARAMETER DESCRIPTION MANDATE
host The environment URL. For example,https://bots.kore.ai Required
BotID Bot ID or Stream ID can be accessed under General Settings on the Bot Builder. Required

Sample Request

curl -X GET 'https://{{host}}/api/public/bot/{{BotID}}/export/status' \
  -H 'auth:  {{YOUR_JWT_ACCESS_TOKEN}}' \

Body Parameters

No body parameters are passed.

Sample Response

```json { "_id": "ber-xxxxx-xxx-xxx-xxx-xxxxx", "botId": "st-xxxxx-xxx-xxx-xxx-xxxxx", "createdBy": "u-xxxxx-xxx-xxx-xxx-xxxxx", "exportType": "published", "requestType": "Botexport", "status": "success", "createdOn": "2018-12-05T07:18:40.028Z", "__v": 0, "downloadURL": "{{url}}", "fileId": "{{file-id}", "store": { "urlParams": "url-params" }, "fileSize": "947" }