Skip to main content
PATCH
/
api
/
v2
/
chatbots
/
{chatbotId}
/
translations
/
{language}
/
{key}
Update a translation key
curl --request PATCH \
  --url https://app.livechatai.com/api/v2/chatbots/{chatbotId}/translations/{language}/{key} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "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"

language
string
required

Language (predefined enum or custom uppercase identifier)

Example:

"GERMAN"

key
string
required

One of the predefined translation keys

Example:

"newMessageToast"

Body

application/json
value
string
required
Example:

"Neue Nachricht!"

Response

Translation updated successfully