Classic APIs
ClassicGroupsApi
acceptGroupJoinRequest

acceptGroupJoinRequest

Accepts a join request.

Parameters

NameTypeDescription
groupIdIdentifierThe id of the group to accept a join request for.
userIdIdentifierThe id of the user to accept.

Example

const { data: success } = await ClassicGroupsApi.acceptGroupJoinRequest({ groupId: 5850082, userId: 2655994471 }); 

Endpoint

POST /v1/groups/{groupId}/join-requests/users/${userId}