Z-API WhatsApp icon

Z-API WhatsApp

Integration with Z-API (WhatsApp) organized by resources (messages, groups, chats, contacts, products, queue, instance, status, etc.).

Group → Remove Participant

AI-generated

Summary

Remove specified participants from a WhatsApp group.

Inputs

  • groupId (required) — The group identifier (e.g., 120363019502650977-group).
  • participants — Collection of participant phone numbers to remove; each phone must be in international format (digits only).

Output shape

HTTP response object from the Z-API remove-participant endpoint (typically includes success status or error details).

The exact body varies; on success it returns the API's response payload, which may contain confirmation data. Errors are thrown as node errors.

Examples

Example 1: Remove two users from a group.

groupId: 120363019502650977-group; participants: [{ phone: 5544999999999 }, { phone: 5544888888888 }]

Links

Discussion