Refresh Access token

Please use this (https://app.shipper.ma/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

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

Error responses

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