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

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

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

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

Last updated