Skip to Content
Xeonr Developer Docs
API SpecificationAuthentication

Refresh token

POST
/xmb.api.v1.AuthService/RefreshToken

Exchanges a refresh token for a new access token and refresh token pair.

Authorization

BearerAuth
AuthorizationBearer <token>

An access token issued by the xeonr identity provider.

In: header

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

refreshToken?string

The refresh token previously issued to this client. Empty for a browser session: the API reads the refresh token from the httpOnly session cookie HandleLogin set, sets the rotated one in its place, and leaves the response's refresh_token empty.

Lengthlength <= 8192
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://xmb.gg/xmb.api.v1.AuthService/RefreshToken" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "accessToken": "eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJ1cm46eGVvbnI6YXV0aDp1aWQ6dXNlcjozIn0.c2lnbmF0dXJl",
  "refreshToken": "rt_EXAMPLE-rotated-refresh-token",
  "expiresAt": "2026-10-22T11:30:00Z"
}