This API requires the JWT generated by an application created only from the Admin Console.
Import Bot as a New Bot API
Back to API List
To create a new bot in the account owner’s Builder Tool using the File IDs generated when uploading the files to the local server. You can import a bot using either individual Definition, Config, Functions and Icon files, or you can directly use the zip file that’s created while performing bot export. In this case you need to upload the zip file and use the File ID thus generated.
Refer to Upload File API for uploading and obtaining the File ID.
Case 2: ZIP file