Skip to main content
POST
Refresh token.
Over time, a JWT may expire, which means that the user will need to log in again to obtain a new JWT. However, the “/refresh” method provides a way for the user to refresh their existing login session without having to log in again.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful token refresh.

statusCode
number

Request status code.

Example:

200

message
string

Message returned by the request.

Example:

"Sucessful refresh"

data
object

Data returned by the request.