WA-AKG icon

WA-AKG

Interact with WA-AKG WhatsApp Gateway API

Group → Update Members

AI-generated

Summary

Update members of a WhatsApp group by adding, removing, promoting, or demoting specified participants.

Inputs

  • sessionId (required) — The Session ID to use for this request.
  • jid (required) — WhatsApp JID of the group (e.g., xxxxx@g.us).
  • participants (required) — Comma-separated list of WhatsApp JIDs to act upon (e.g., 62811@s.w,62822@s.w).
  • memberAction (required) — Action to perform: add, remove, promote, or demote.

Output shape

The API response from the WA-AKG server for the group members update request (typically a success object or the updated group data).

If the request fails, the node throws an error unless Continue On Fail is enabled.

Examples

Example 1: Add two participants to a group

Set sessionId to your active session, jid to the group's JID, participants to '62811@s.w,62822@s.w', and memberAction to 'Add'.

Links

Discussion