Refresh Access token

Please use this (https://www.mystupidcompany.com/mobile_api/refresh_access_token) API for accessing endpoint of user access token management


Post parameters

Field Value Remarks
​refresh_token ​Refresh token ID E.g. de25cc16eb00960f076...

Success response

{
    "err_code": "0",
    "code": 200,
    "message": "Token refreshed Out successful",
    "data":{
        "auth_token": "bc93431b2120eb63650e69a526ca100a355cd3871605119043bc611a7b1496e204c6b9869d0cb0bbb1",
        "refresh_token": "37d5bf2ebd34d49a3fa2d3f146486c0b1605119043ae30694f74bc5535becb59eb23121ad9",
        "auth_token_expiry": 1636655043
    }
}

Error responses

{
    "err_code": "invalid_token",
    "code": 400,
    "message": "Invalid token value or user account disabled",
    "data": []
}