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;
};
}; {
"vos": {
"exitCode": 74071341553362,
"exitReason": null,
"isInternal": false,
"launchConfiguration": {
"arguments": [
"peccatus",
"vitae",
"pauci",
"curriculum"
],
"executable": "nam",
"locale": "animadverto",
"voiceLocale": null,
"workingDirectory": "campana"
},
"patchlineFullName": "riot_client",
"patchlineId": "",
"phase": "quaerat",
"productId": "valorant",
"version": "terror"
}
}