POST
/auth/refresh-tokenRefresh Token
Outcome - Returns a new access token and a new refresh token. Call it when a request fails with HTTP 498 (token expired). The refresh token you send is consumed: use the new one next time.
Body Parameters
refreshTokenstringrequiredRefresh Token
Responses
Response attributes
messagestringSuccess message
dataobjectObject containing the new tokens
Show child attributes (3)
accessTokenstringNew JWT Access Token
refreshTokenstringNew JWT Refresh Token
expiresAtnumberToken expiration timestamp
statusnumberHTTP status code
Was this page helpful?