GET Sessions
https://127.0.0.1:{port}/product-session/v1/external-sessions Gets info about the running Valorant process including start arguments Can be used to get shard, region, and puuid by parsing launch args.
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 SessionsResponse = {
[x: string]: {
exitCode: number;
exitReason: null;
isInternal: boolean;
launchConfiguration: {
arguments: string[];
executable: string;
locale: string | null;
voiceLocale: null;
workingDirectory: string;
};
patchlineFullName: "VALORANT" | "riot_client";
patchlineId: "" | "live" | "pbe";
phase: string;
productId: "valorant" | "riot_client";
version: string;
};
}; {
"aro": {
"exitCode": 4696883647470623,
"exitReason": null,
"isInternal": false,
"launchConfiguration": {
"arguments": [
"id",
"cumque",
"ater",
"conicio",
"universe"
],
"executable": "temporibus",
"locale": "sortitus",
"voiceLocale": null,
"workingDirectory": "vitae"
},
"patchlineFullName": "VALORANT",
"patchlineId": "",
"phase": "aedificium",
"productId": "riot_client",
"version": "arbitro"
}
}