ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Sessão → Excluir Vários Chats

AI-generated

Summary

Deletes multiple chats from the ZapGate inbox for the configured instance. Optionally also deletes those chats in WhatsApp; set the all flag to delete every conversation instead of specifying chat IDs.

Inputs

  • chats (required) — Chat IDs or group JIDs, one per line. Ignored when all is true.
  • all — When true, deletes all conversations.
  • whatsapp — When true, also deletes the chats in WhatsApp.
  • ZapGate credentials (required) — Requires a Base URL, Instance ID, and an Admin API Key or Instance Token.

Output shape

A list of items, each containing the API response as JSON.

Makes a POST request to the instance inbox bulk-delete endpoint. The request body includes the supplied chat list and flags; the response shape is determined by the API. With continue on fail enabled, failed items contain an error field.

Links

Discussion