GET Friend Requests
https://127.0.0.1:{port}/chat/v4/friendrequests Get a list of friend requests
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 FriendRequestsResponse = {
requests: {
game_name: string;
game_tag: string;
name: string;
note: string;
pid: string;
/** Player UUID */
puuid: string;
region: string;
subscription: "pending_out" | "pending_in";
}[];
}; {
"requests": [
{
"game_name": "caecus",
"game_tag": "aperio",
"name": "Dominick Mante",
"note": "admoneo",
"pid": "usus",
"puuid": "4593Ec2D-7dbD-FcB5-a968-FAa9b0Aad60e",
"region": "paens",
"subscription": "pending_in"
},
{
"game_name": "cimentarius",
"game_tag": "acervus",
"name": "Dr. Becky Fay",
"note": "curtus",
"pid": "coadunatio",
"puuid": "66ACCdf0-47B8-F814-0f0B-0034875DbCaa",
"region": "combibo",
"subscription": "pending_out"
},
{
"game_name": "defessus",
"game_tag": "sub",
"name": "Colleen Bashirian",
"note": "aeger",
"pid": "voluptate",
"puuid": "BEc23FED-e30a-2EF8-0ace-d665ADEC5eca",
"region": "angulus",
"subscription": "pending_in"
}
]
}