Refresh Access Token
POST/auth/refresh-token
Refresh the user's access token by providing the old access token in the request header. A new access token will be generated upon successful authentication.
Request
Header Parameters
x-access-token stringrequired
Send expired jwt access token with refresh token inside.
Responses
- 200
- 400
- 401
User authenticated successfully.
- application/json
- Schema
- Example (from schema)
Schema
access_token stringrequired
JWT access token. Token used to access all protected endpoints.
{
"access_token": "string"
}
If any required params are missing or has invalid format or type.
User authentication failed.
Loading...