Groups
Pending Requests
List pending join requests in groups with manual approval
GET
Pending Requests
Auth:
Envelope:
TokenAccount or TokenInstance • Rate-limit: Global (100/min) • Idempotent: yes
Description
Lists pending join requests in a group that hasrequireAdminApproval=true. Only admins of the group can view this queue. To accept or reject, use POST /participants with action=approve or action=reject.
Examples
List requests
Returns the pending request queue for the group120363406289005073@g.us. Each entry carries the LID and (when available) the phone number of who asked to join.
Success response
Returns the queue of pending requests underrequests[], with meta.total reporting its size. Each entry carries the jid in LID format (@lid, to preserve the requester’s privacy) and, when available, the corresponding phoneNumber. Use these identifiers in /participants with action=approve or action=reject to resolve each request.
200 OK
Path parameters
Instance name.
Headers
TokenAccount or TokenInstance.Query
Group JID, invite code, or link.
Notes
- The returned
jidcomes in LID format (@lid) to preserve the requester’s privacy, in some casesphoneNumbermay come asnull. - To approve or reject in bulk, forward these JIDs (or PNs) to
/participants.
Errors
| HTTP | Message |
|---|---|
| 400 | Identifier is required |
| 403 | Not authorized to view group requests (must be admin) |
| 404 | Group not found or you are not a member of this group |
Next
Approve / reject
Use
action=approve or action=reject on /api/group/participants.Update group
Enable or disable
requireAdminApproval.