Refresh the tokens
PATCH
/auth/api/v1/authentication-management/session
Exchanges the refresh token for another access token and refresh token. Send the refresh token, not the access token, in the Authorization header. The request has no body.
A refresh replaces both tokens: the refresh token works once, and the access token issued with it stops working at once. Repeating the same refresh within one minute returns the same pair of tokens, so a client that lost the answer can retry. After one minute a used refresh token answers 401 with code 5.
Authorizations
refreshToken
The refreshToken of a sign-in or refresh answer. Valid for 24 hours, works once. Used only by the refresh route.
Type
HTTP (bearer)
Responses
The session tokens.
application/json
JSON "status": { "code": 0, "name": "Ok" }, "data": { "accessToken": "eyJ...access", "refreshToken": "eyJ...refresh", "expirationTime": "2026-01-15T10:05:00Z" }
{
}
PATCH
/auth/api/v1/authentication-management/session