Classic APIs
ClassicGroupsApi
batchAcceptGroupJoinRequests

batchAcceptGroupJoinRequests

Batch accepts join requests.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to batch accepts join requests for.
userIdsArrayNonEmptyIfConstThe ids of the user to accept.

Example

const { data: success } = await ClassicGroupsApi.batchAcceptGroupJoinRequests({
  groupId: 5850082,
  userIds: [2655994471],
}); 

Endpoint

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