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": "addo",
"game_tag": "caste",
"name": "Toby Hayes",
"note": "adinventitias",
"pid": "vindico",
"puuid": "bAdf1FF8-43BA-EF90-F0D0-dEffCA0eba27",
"region": "pauci",
"subscription": "pending_out"
},
{
"game_name": "aeger",
"game_tag": "ambitus",
"name": "Nathan Stamm",
"note": "a",
"pid": "tametsi",
"puuid": "c62B35bf-aDa5-0216-31D6-fc479bF1Af62",
"region": "coma",
"subscription": "pending_out"
},
{
"game_name": "aqua",
"game_tag": "attollo",
"name": "Oscar Rippin",
"note": "qui",
"pid": "confugo",
"puuid": "aB6b3F0C-f715-Fa67-a42c-e62DB758166F",
"region": "ocer",
"subscription": "pending_in"
},
{
"game_name": "cuppedia",
"game_tag": "ultio",
"name": "Wilson Koepp",
"note": "ara",
"pid": "dolores",
"puuid": "2CDc01Be-9aEd-d704-BD7f-A9ABA465fc81",
"region": "magnam",
"subscription": "pending_in"
},
{
"game_name": "suffragium",
"game_tag": "deficio",
"name": "Winston Dicki",
"note": "velit",
"pid": "aeternus",
"puuid": "f9F526B3-bD6c-Eb5B-3EEb-b2ccbDA30c56",
"region": "blanditiis",
"subscription": "pending_in"
}
]
}