Profile

Change user interface language

Changed on

Change the preferred user interface language on the website and in the bot.

patch/v1/profile/language

Request

  • Base URL
    https://api.getmytg.com
  • URL
    https://api.getmytg.com/v1/profile/language
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

language'ru' | 'uk' | 'en' | 'es' | 'zh' required

Preferred user interface language

Example request

{
  "language": "en"
}

Response

Response for status 200

successboolean required

Indicates if the operation was successful

Example response

{
  "success": true
}

Changes