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

# Enable an Existing Language API

<Badge icon="arrow-left" color="gray">[Back to API List](/ai-for-service/apis/automation/api-list)</Badge>

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](/ai-for-service/apis/automation/api-introduction/#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"
```
