The execution of the export api and export status API is correct in your case. Just a small modification to the download url, will provide the bot export.
Please replace the “127.0.0.1” with your host url (which you have passed in the curl request) in the generated download url link. (As highlighted in the screenshot).
By default, local URL is being passed. In the screenshot, the host url is “citiissues.kore.ai”.
Copy paste the complete download url link (along with the replaced host url) in any browser. It will download the bot export zip file.
In answering your questions,
- The returned download URL is correct if you are getting 200 OK status for the request api call. Please copy the download URL and paste it in any browser (after replacing with the host url) and it will automatically download the bot export.
- The only API to download the bot export is by using, https://developer.kore.ai/docs/bots/api-guide/bot-export-api/
- The significance is that it will build a url with all the fields shared as part of api and will help us in downloading the bot export without using the UI interface.