Skip to main content
PATCH
Update Chatbot Settings - Localization

Authorizations

Authorization
string
header
required

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

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json

Request body to update localization settings of the chatbot

Request Body. A group omitted from the body is reset to its defaults; a group that is present is merged key-by-key into the stored group. locale omitted or null resets to English.

locale
string | null

Language of the text the widget writes itself (relative timestamps such as "just now"). A BCP-47 tag from the supported list, for example da, de, ja, pt. Common variants are accepted and stored canonically (da-DK becomes da); an unsupported tag is a validation error.

chatHome
Chatbot-Localization-ChatHome · object

Localization settings for home screen in the chatbot

chatMessages
Chatbot-Localization-ChatMessages · object

Localization settings for messages screen in the chatbot

chatMessage
Chatbot-Localization-ChatMessage · object

Localization settings for individual conversations in the chatbot

chatAccount
Chatbot-Localization-ChatAccount · object

Localization settings for account screen in the chatbot

Response

OK

Success Response

success
boolean

Indicates whether this is success response or error response

message
string

Overall message regarding the operation performed

data
object | null

Data returned from the server