Skip to main content
PATCH
/
api
/
v2
/
chatbots
/
{chatbotId}
/
translations
/
settings
Update localization settings
curl --request PATCH \
  --url https://app.livechatai.com/api/v2/chatbots/{chatbotId}/translations/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "defaultLanguage": "GERMAN",
  "supportedLanguages": [
    "GERMAN",
    "TURKISH"
  ],
  "isAutoTranslationEnabled": true
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Unique identifier of the chatbot

Example:

"clx1234567890abcdef"

Body

application/json
defaultLanguage
string
Example:

"GERMAN"

supportedLanguages
string[]
Example:
["GERMAN", "TURKISH"]
isAutoTranslationEnabled
boolean
Example:

true

Response

Settings updated successfully