POST/auth/refresh-token

Refresh 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

refreshTokenstringrequired

Refresh Token

Responses

Response attributes

messagestring

Success message

dataobject

Object containing the new tokens

Show child attributes (3)
accessTokenstring

New JWT Access Token

refreshTokenstring

New JWT Refresh Token

expiresAtnumber

Token expiration timestamp

statusnumber

HTTP status code

Was this page helpful?