Refresh Token

This API creates a new Token without requiring credentials, but it does need an active token to function. To use this to extend the expiry of existing token.

URL: {base_url}/api/v1/client/refreshToken

Method: POST

Name
Type
Value
Required

Content-Type

String

application/json

Y

Authorization

String

Bearer {your_api_token}

Y

Response

{
  "code": 0,
  "message": "Refresh token success",
  "data": {
    "token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczovL2FwaS5nYW1lc21hdHJpeC5jb20vYXBpL3YxL2NsaWVudC90cmFuc2Zlci9nZW5lcmF0ZVRva2VuIiwiaWF0IjoxNjk4MjA2ODcxLCJleHAiOjE2OTgyNTAwNzEsIm5iZiI6MTY5ODIwNjg3MSwianRpIjoiSzkwNjNIa3hQa2I5R2x2ZSIsInN1YiI6IjUiLCJwcnYiOiIwOWFjMzg0NDA1MGRhNDBhNTRhYTRkMDJlZDc0ZDRlMmNkNGQ4ZDY5IiwiYWdlbnRfY29kZSI6IlNDMiIsImFnZW50X21ldGhvZF9jb2RlIjoiU0MyLUlEUiIsImN1cnJlbmN5X2NvZGUiOiJJRFIifQ.SX6uf04EotDF6ynVLhfpGW2IDv-4XRqSBDRQQkXhFok"
  }
}

Last updated