Skip to main content

POST /auth/refresh

Use this endpoint to obtain a new access token when the old one expires. You must provide a valid refresh token.
This endpoint implements token rotation for enhanced security. Each time you refresh, you receive a new refresh token and the old one is automatically revoked.

Request Body

string
required
The refresh token that was provided during login or a previous refresh.

Response

boolean
Indicates if the refresh was successful.
string
Human-readable status message.
object
An object containing the new authentication tokens.