auth

Refresh access token

Exchange refresh token for new access token. The refresh_token itself authenticates the request.

post/api/auth/refresh

Request body

refresh_tokenstring required

Refresh token to exchange

Example request

{
  "refresh_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Response

Successful Response

access_tokenstring required

New JWT access token

refresh_tokenstring required

New refresh token

expires_ininteger required

Access token expiration time in seconds

refresh_expires_ininteger required

Refresh token expiration time in seconds

token_typestring

Token type

Changes