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}}
|
| API Scope |
|
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"