> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable an Existing Language API

[Back to API List](https://koreai.mintlify.site/ai-for-service/apis/automation/api-list)

Enables an existing language for an AI Agent.

| Property | Value |
| - | - |
| **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](https://koreai.mintlify.site/ai-for-service/apis/automation/api-introduction.md#generating-the-jwt-token). |
| **API Scope** | App Builder: Language Configuration; Admin Console: Language Settings > Language Management |

## Path Parameters

| Parameter | Description | Required |
| - | - | - |
| `host` | The environment URL. For example, `https://platform.kore.ai` | Required |

## Sample Request

```bash theme={null}
curl -X POST \
'https://{{host}}/api/{{version-Id}}/public/bot/{{botId}}/language/status' \
--header 'Content-Type: application/json' \
--header 'auth: {{YOUR_JWT_ACCESS_TOKEN}}' \
--data '{
  "language" : "",
  "enable": true
  }'
```

## Body Parameters

| Parameter | Description | Required |
| - | - | - |
| `language` | The language code of the language to enable. | Required |
| `enable` | Set to `true` to enable the language. | Required |

## Sample Response

```json theme={null}
"Enabled Spanish language successfully"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.