PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Grupo → Gerenciar Participantes

AI-generated

Summary

Manage WhatsApp group participants by adding, removing, promoting to admin, or demoting from admin using specified group and instance IDs.

Inputs

  • ID da Instância (required) — ID da instância WhatsApp where the group is managed.
  • ID do Grupo (required) — JID that identifies the WhatsApp group.
  • Participantes (required) — Comma-separated list of phone numbers to manage as participants in the group.
  • Ação (required) — Action to perform on participants: add, remove, promote, or demote.

Output shape

The operation returns a JSON object with the result from the PAPI WhatsApp API reflecting the action outcome on the specified group participants.

The participants phone numbers are internally appended with '@s.whatsapp.net' to form valid JIDs before sending the request. The operation expects the instance and group to exist and to be connected.

Discussion