| Field | Value |
|---|---|
| Method | POST |
| Endpoint | https://{{host}}/api/public/bot/botId/import/botfunctions |
| Content Type | application/json |
| Authorization | auth: {{JWT}} See How to generate the JWT Token. |
| API Scope | App Builder: Not Applicable; Admin Console: Bot Definition > Bot Import |
Query Parameters
| Parameter | Required | Description |
|---|---|---|
host | Required | The environment URL. For example, https://platform.kore.ai |
botID | Required | The Bot ID or Stream ID of the bot into which you want to import the functions. You can get it under General Settings on the App Builder. |
Sample Request
Body Parameters
| Parameter | Required | Description |
|---|---|---|
fileId | Required | The unique identifier (ID) of the file to be imported. This ID can be retrieved from the response of the Upload File API after uploading the Bot Functions file. |
fileName | Required | The name of the file containing the bot functions to import. |