Classic APIs
ClassicFriendsApi
inactiveFriends

inactiveFriends

Gets a list of all inactive friends for a specified user.

Parameters

NameTypeDescription
userIdIdentifierThe id of the user to get inactive friends for.

Example

const { data: inactive } = await ClassicFriendsApi.inactiveFriends({ userId: 45348281 }); 

Example Data

[
  {
    isDeleted: false,
    friendFrequentScore: 0,
    friendFrequentRank: 201,
    hasVerifiedBadge: false,
    description: null,
    created: 0001-01-01T05:51:00.000Z,
    isBanned: false,
    externalAppDisplayName: null,
    id: 5275218436,
    name: "loremIpsum",
    displayName: "LoremIpsum",
  },
] 

Endpoint

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