groupJoinRequests
gets join requests.
Parameters
Name | Type | Description |
---|---|---|
groupId | Identifier | The id of the group to get join requests for. |
limit? | 10|25|50|100 | The number of results to be returned. |
sortOrder? | SortOrder | The order that the results are sorted in. |
cursor? | string | The 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