Skip to content

Enable an Existing Language API

To enable an existing language for a virtual assistant.

Method POST
Endpoint https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status

Content Type application/json
Authorization auth: {{JWT}}

See How to generate the JWT Token.

API Scope
  • Bot Builder: Language Configuration
  • Admin Console: Language Settings > Language Management

Path Parameters

PARAMETER DESCRIPTION MANDATE
host The environment URL. For example, https://bots.kore.ai Required

Sample Request

curl -X POST \
https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status \
-H 'Content-Type: application/json' \
-H 'auth: YOUR_JWT_ACCESS_TOKEN' \
-d '[{
  "language" : ,
  "enable": true
  }]'

Body Parameters

PARAMETER DESCRIPTION MANDATE
language The language code of the language to be enabled. Required
enable The enable configuration is set to True. Required

Sample Response

"Enabled Spanish language successfully"