1. Home
  2. Kore.ai Conversational Platform
  3. SDKs & APIs
  4. Using Kore.ai APIs
  5. Publish Bot API

Publish Bot API

Used to initiate a publish request for a bot. Before calling the Publish Bot API, make sure that at least one channel is enabled for the bot.

POST https://{{host}}}}/api/public/bot/{{bot_id}}/publish

Query Parameters

 

Parameter Description
host Environment URL, for example, https://bots.kore.ai
bot_id Bot ID or Stream ID. You can access it from the General Settings page of the bot.

Body Parameters

Parameter Description
versionComment Comments for your Publish request

Authorization

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

auth: {JWT}

Response content type

application/json

Sample Request

curl -X POST \
  http://{{host}}/api/public/bot/{{bot_id}}/publish \
  -H 'auth: YOUR_JWT_ACCESS_TOKEN' \
  -H 'content-type: application/json' \
  -d '{
	"versionComment" : "new update"
}'

Was this article helpful to you? Yes No