Baileys Instance icon

Baileys Instance

Use the wa-instance API built on Baileys 7

Group → Update Participant Requests

AI-generated

Summary

Approve or reject participant join requests for a specified WhatsApp group.

Inputs

  • Group JID (required) — The unique identifier (JID) of the WhatsApp group where participant requests will be updated.
  • Participants (required) — One or more participants identified by their JIDs to approve or reject in the group.
  • Action (required) — Choose whether to approve or reject the participant requests.

Output shape

a single record

The operation returns the API response from the backend after attempting to update participant requests for the given group. No pagination applies.

Examples

Example 1: Approve participant requests

Set 'Group JID' to the target group string, specify participant JIDs in 'Participants', and set 'Action' to 'Approve'. The node will approve these pending requests to join the group.

Example 2: Reject participant requests

Set 'Group JID' to the target group string, specify participant JIDs in 'Participants', and set 'Action' to 'Reject'. The node will reject these pending requests to join the group.

Links

Discussion