Auto Translation

You need the Manage Settings permission to manage Auto Translation.

Auto Translations
- Auto Translations Manage
GET livechat/autoTranslationConfig
POST livechat/autoTranslationConfig:disable
POST livechat/autoTranslationConfig:enable
PUT livechat/autoTranslationConfig
Model
Auto Translation JSON Format

Auto Translation is represented as simple flat JSON objects with the following keys:

Name Type Description
excludedWords string [] Words/phrases that do not require translation.
isEnabled bool Whether auto translation is enabled or not.
Endpoint
Get a single Auto Translation

GET livechat/autoTranslationConfig

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/autoTranslationConfig \
-X 'GET' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"excludedWords":["Test"],"isEnabled":true}
Disable the Auto Translation

POST livechat/autoTranslationConfig:disable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/autoTranslationConfig:disable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"excludedWords":["Test"],"isEnabled":false}
Enable the Auto Translation

POST livechat/autoTranslationConfig:enable

Parameters:
No Parameters
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/autoTranslationConfig:enable \
-X 'POST' \
-H 'Authorization: Bearer {access_token}' \

Response:

 HTTP/1.1 200 OK

{"excludedWords":["Test"],"isEnabled":true}
Update the Auto Translation

PUT livechat/autoTranslationConfig

Parameters:
Name Type In Required Description
excludedWords string [] body no Words/phrases that do not require translation.
isEnabled bool body no Whether auto translation is enabled or not.
Response:
Example

Sample Request:

curl https://api15.comm100.io/v4/livechat/autoTranslationConfig \
-X 'PUT' \
-H 'Authorization: Bearer {access_token}' \
-H 'Content-Type: application/json' \
-D '{"excludedWords":["Test"],"isEnabled":true}'

Response:

 HTTP/1.1 200 OK

{"excludedWords":["Test"],"isEnabled":true}