ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Gerenciar Participantes

AI-generated

Summary

Adds, removes, promotes, or demotes participants in a WhatsApp group through the ZapGate instance API. Choose an action, provide the group JID and participant phone numbers (one per line), and authenticate with instance credentials.

Inputs

  • jid (required) — Group JID.
  • action (required) — Participant change: add, remove, promote to admin, or demote from admin.
  • participants (required) — Participant phone numbers, one per line. The node converts the lines into an array for the API request.

Output shape

A single JSON response per input item, paired with its input item.

Returns the API response as JSON; if the response is not an object, it is wrapped as {"result":"…"}. On failure, the node throws unless Continue On Fail is enabled, in which case it returns {"error":"…"} for that item. Requires ZapGate API credentials with an Instance ID and an Admin API Key or Instance Token.

Links

Discussion