POST Send Friend Request
https://127.0.0.1:{port}/chat/v4/friendrequests Sends a friend request to a player. Can be used in conjunction with Friend Requests and Remove Friend Request to determine a player's PUUID from their game name.
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
Body
type SendFriendRequestBody = {
game_name: string;
game_tag: string;
}; {
"game_name": "appono",
"game_tag": "distinctio"
} Response
type SendFriendRequestResponse = {
/** Empty array */
requests: any[];
}; {
"requests": []
}