Skip to main content
Version: v0.23.1

Reject pending join requests

POST 

/api/sessions/:sessionId/groups/:groupId/membership-requests/reject

Rejects the named requesters, or EVERY pending request when the body names none. Rejecting an empty queue is a no-op that returns an empty results list. On whatsapp-web.js the engine pauses 250-500ms between requesters (upstream anti-abuse pacing), so acting on a large queue is a proportionally long request.

Request

Responses

Requests processed — results carries the per-participant outcome (a partial refusal does not fail the batch; a total refusal of NAMED requesters is an error)