Add, remove, promote or demote group members
manage_group_participantsChange WhatsApp group membership by adding, removing, promoting, demoting, or approving/rejecting participants; requires group admin rights.
Instructions
Changes group membership: add, remove, promote (to admin), demote, or approve/reject join requests. The instance must be a group admin. 'remove' kicks people out and cannot be undone automatically; 'add' notifies the people added, so only add people who agreed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| group_jid | Yes | Group JID ending in @g.us. | |
| instance_id | No | ZapZap instance id (a connected WhatsApp number). Optional when ZAPZAP_INSTANCE_ID is configured; otherwise call list_instances first. | |
| participants | Yes | Phone numbers with country code, digits only. |