ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Excluir Vários Chats

AI-generated

Summary

Delete multiple chats on a ZapGate WhatsApp instance

Inputs

  • chats (required) — IDs de chat ou JID de grupo (um por linha). Ignorado se "Apagar todas" = true
  • all — Apagar todas as conversas do inbox
  • whatsapp — Apagar também a conversa no WhatsApp

Output shape

An object containing a deleted array of chat identifiers that were removed

When all is true the entire inbox is cleared; the response may be empty or just a success flag.

Examples

Example 1: Delete specific chats

chats: 120363123456789012@g.us, 1203639876543210@g.us; all: false; whatsapp: false

Example 2: Delete all chats

all: true; whatsapp: false

Example 3: Delete all chats and also remove from WhatsApp

all: true; whatsapp: true

Links

Discussion