1. Home
  2. Kore.ai Conversational Platform
  3. SDKs & APIs
  4. Using Kore.ai APIs
  5. Import Bot as a New Bot API

Import Bot as a New Bot API

Import Bot as a New Bot API is used to create a new bot in the account owner’s Builder Tool using the File IDs generated by uploading the files to the local server. Bot Name and Purpose are optional fields as they will be taken from the existing bot copy. If the developer wants to have a new bot name, then optional field needs to be provided.

POST https://{{host}}/api/public/bot/import

Query Parameters

Parameter Description
host Environment URL, for example, https://bots.kore.ai

Body Parameters

Parameter Description
botDefinition “Fileid”
configInfo “Fileid”
botFunctions “Fileid” – Optional Field
icon “Fileid”
name “Botname” – Optional Field
purpose “customer”/”employee” – Optional Field


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

auth: {JWT}

Response content type


Sample Request

curl -X POST \
  http://{{host}}/api/public/bot/import \
   -H 'content-type: application/json' \
   -d '{
  "botDefinition" : "5b7ed3c87cab5c48ea9794f9",
  "configInfo" : "5b7ed2w77cab5c48ea9794fa",

Sample Response

    "streamRefId": "f6e21f2d-cf90-52b0-bbc5-638add8dba26",
    "statusLogs": [
            "taskType": "importRequest",
            "taskName": "SampleTaskName",
            "status": "success"
    "createdBy": "u-3ae8bd39-a65b-5b2c-b66b-85864a8202c3",
    "requestType": "Botimport",
    "_id": "bir-32a5ed0d-6181-5a0a-9f21-1bf872290029",
    "status": "pending",
    "createdOn": "2018-12-05T07:28:46.113Z",
    "__v": 0


Was this article helpful to you? Yes No