Classic APIs
ClassicFriendsApi
authenticatedUserAcceptFriendRequest

authenticatedUserAcceptFriendRequest

Accepts a friend request from a specific user for the authenticated user.

Parameters

NameTypeDescription
userIdIdentifierThe id of the user to accept friend request from.

Example

const { data: success } = await ClassicFriendsApi.authenticatedUserAcceptFriendRequest({ userId: 2655994471 }); 

Endpoint

POST /v1/users/{userId}/accept-friend-request