For the complete documentation index, see llms.txt. This page is also available as Markdown.

Chatbot Language Settings

Retrieves all language settings for a chatbot

get

Required Permission: chatbots.languages.list

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The Id of the chatbot

Responses
200

The current language settings.

application/json
errorstringOptional

Optional error message.

get/v1/chatbots/{chatbotId}/settings/languages
GET /v1/chatbots/{chatbotId}/settings/languages HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Accept: */*
{
  "languages": {
    "updated": "2025-10-02T16:00:00Z",
    "languages": [
      "DE",
      "EN-GB"
    ],
    "defaultLanguage": "DE",
    "translate": true,
    "defaultCluLanguage": "DE"
  },
  "error": "text"
}

Adds one or more languages to the chatbot

post

Required Permission: chatbots.languages.create

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The Id of the chatbot

Body
languagesstring[] · min: 1Required

A list of language codes to be added.

Example: ["DE","EN-GB"]
Responses
200

The updated language settings.

application/json
errorstringOptional

Optional error message.

post/v1/chatbots/{chatbotId}/settings/languages
POST /v1/chatbots/{chatbotId}/settings/languages HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 28

{
  "languages": [
    "DE",
    "EN-GB"
  ]
}
{
  "languages": {
    "updated": "2025-10-02T16:00:00Z",
    "languages": [
      "DE",
      "EN-GB"
    ],
    "defaultLanguage": "DE",
    "translate": true,
    "defaultCluLanguage": "DE"
  },
  "error": "text"
}

Removes one or more languages from the chatbot

delete

Required Permission: chatbots.languages.delete

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The Id of the chatbot

Body
languagesstring[] · min: 1Required

A list of language codes to be removed.

Example: ["FR"]
Responses
200

The updated language settings.

application/json
errorstringOptional

Optional error message.

delete/v1/chatbots/{chatbotId}/settings/languages
DELETE /v1/chatbots/{chatbotId}/settings/languages HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 20

{
  "languages": [
    "FR"
  ]
}
{
  "languages": {
    "updated": "2025-10-02T16:00:00Z",
    "languages": [
      "DE",
      "EN-GB"
    ],
    "defaultLanguage": "DE",
    "translate": true,
    "defaultCluLanguage": "DE"
  },
  "error": "text"
}

Enables/disables automatic translation mode

patch

Required Permission: chatbots.languages.edit

Resource: chatbots/:chatbotId

Authorizations
x-chatcaptain-keystringRequired
Path parameters
chatbotIdstringRequired

The Id of the chatbot

Body
enabledbooleanRequired

Enables or disables the automatic translation mode.

Example: true
Responses
200

The updated status of the translation mode.

application/json
enabledbooleanOptional

The new state of the translation mode.

Example: true
errorstringOptional

Optional error message.

patch/v1/chatbots/{chatbotId}/settings/languages/translate
PATCH /v1/chatbots/{chatbotId}/settings/languages/translate HTTP/1.1
Host: api.chatcaptain.com
x-chatcaptain-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 16

{
  "enabled": true
}
{
  "enabled": true,
  "error": "text"
}

Last updated