OpenWA icon

OpenWA

Interact with OpenWA WhatsApp API Gateway

Actions164

Group → Approve Membership Requests

AI-generated

Summary

Approves pending WhatsApp group membership requests for a selected session and group. Specify individual requesters or leave the field empty to approve all pending requests.

Inputs

  • Session Name or ID (required) — Select the session or enter its ID.
  • Group Name or ID (required) — Select the group or enter its WhatsApp JID, such as 120363021234567890@g.us.
  • Requesters — Specify which pending membership requests to approve by providing a comma-separated list of requester JIDs, a JSON array, or an expression resolving to an array, with a maximum of 256 entries. Leaving this field empty approves all pending requests. Expressions that resolve to an empty list are rejected to prevent accidental approval of all requests.

Output shape

A single record containing the API response.

If the Requesters field is left empty, the operation approves every pending membership request for the group. Please note that this action cannot be undone.

Links

Discussion