Classic APIs
ClassicGroupsApi
groupJoinRequests

groupJoinRequests

gets join requests.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to get join requests for.
limit?10|25|50|100The number of results to be returned.
sortOrder?SortOrderThe order that the results are sorted in.
cursor?stringThe paging cursor for the previous or next page.

Example

const { data: joinRequests } = await ClassicGroupsApi.groupJoinRequests({ groupId: 5850082 }); 

Example Data

[
  {
    requester: {
      hasVerifiedBadge: false,
      userId: 2655994471,
      username: "MightyPartJr",
      displayName: "MightyPartJr",
    },
    created: 2023-09-12T09:35:49.287Z,
  },
] 

Endpoint

GET /v1/groups/{groupId}/join-requests