Refresh Token

This endpoint allows you to get new refresh token of that user.

GET https://castleindia.in/emart/public /api/refresh /api/refresh

Headers

Name
Type
Description

Authorization

String

Bearer token {bearer_token without brackets}

Accept

String

application/json

Request Body

Name
Type
Description

refresh_token

String

enter previous refresh token of that user

{
  "errors": {
    "refresh_token": [
      "The refresh token field is required."
    ]
  },
  "status": "fail"
}

If response is fail

{
  "errors": {
    "refresh_token": [
      "The refresh token field is required."
    ]
  },
  "status": "fail"
}

Last updated