Change display language

Please use this (https://hapthat.com/mobile_api/language) API endpoint for changing display language


Post parameters

Field Value Remarks
session_id ​Access token ID E.g. de25cc16eb00960f076...
lang_name ​Display language name E.g. One of these options (english, french, german, italian, russian, portuguese, spanish, turkish, dutch, ukraine)

Success response

{
    	"code": 200,
    	"message": "Language changed successfully",
    	"data": []
    }
    

Error responses

{
        "code": 401,
        "data": [],
        "message": "Unauthorized Access"
    }

    {
    	"code": 400,
    	"message": "Display language name is invalid or missing",
    	"data": []
    }