GET Entitlements Token
https://127.0.0.1:{port}/entitlements/v1/token Gets both the token and entitlement for API usage
accessToken is used as the token and token is used as the entitlement.
Headers
-
Authorization: Basic {base64 encoded "riot:{lockfile password}"}
URL Parameters
-
{port}The port can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Other Variables
-
lockfile passwordThe password can be found from the lockfile (located at
%LocalAppData%\Riot Games\Riot Client\Config\lockfile) when the game is running. The file has the formatname:pid:port:password:protocol
Response
type EntitlementsTokenResponse = {
/** Used as the token in requests */
accessToken: string;
entitlements: unknown[];
issuer: string;
/** Player UUID */
subject: string;
/** Used as the entitlement in requests */
token: string;
}; {
"accessToken": "iste",
"entitlements": [
null,
null,
null,
null,
null
],
"issuer": "ventito",
"subject": "8deAef5e-a7F7-6a6a-B4D3-FF948c6ABd7e",
"token": "facilis"
}