Skip to main content
POST
/
api
/
v2
/
chatbots
/
{chatbotId}
/
translations
/
languages
Add a language
curl --request POST \
  --url https://app.livechatai.com/api/v2/chatbots/{chatbotId}/translations/languages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "language": "GERMAN",
  "translations": [
    {
      "key": "newMessageToast",
      "value": "Neue Nachricht!"
    }
  ]
}
'

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
language
string
required

A predefined language enum value, or a custom uppercase identifier matching ^[A-Z_]{2,50}$

Example:

"GERMAN"

translations
object[]

Optional initial translation overrides

Response

Language added successfully