GET Chat Session
https://127.0.0.1:{port}/chat/v1/session Get the current session including player name and PUUID
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 ChatSessionResponse = {
federated: boolean;
game_name: string;
game_tag: string;
loaded: boolean;
name: string;
pid: string;
/** Player UUID */
puuid: string;
region: string;
resource: string;
state: string;
}; {
"federated": true,
"game_name": "vergo",
"game_tag": "comburo",
"loaded": true,
"name": "Duane Deckow",
"pid": "solium",
"puuid": "F6714beE-eDD7-fEfD-D6A3-0Fe365ab997C",
"region": "tres",
"resource": "solum",
"state": "California"
}