Classic APIs
ClassicFriendsApi
friendsStatuses

friendsStatuses

Gets the friend statuses between a user and multiple related user ids.

Parameters

NameTypeDescription
userIdIdentifierThe id of the user to get friends statuses for.
relatedUserIdsArrayNonEmptyIfConstAn array of the related userIds to get friends statuses for.

Example

const { data: statuses } = await ClassicFriendsApi.friendsStatuses({ userId: 45348281, relatedUserIds: [2655994471] }); 

Example Data

{ "2655994471": "Friends" } 

Endpoint

GET /v1/users/{userId}/friends/search