ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Excluir Chat do Painel

AI-generated

Summary

Excluir Chat do Painel removes a chat entry from the ZapGate inbox for a given instance.

Inputs

  • chat (required) — Identifier of the chat to delete (phone number or JID).
  • whatsapp — When true, also deletes the chat on the WhatsApp side. Defaults to false.

Output shape

empty response (HTTP 204)

No JSON body is returned on success; the operation throws an error if the request fails.

Examples

Example 1: Delete a specific chat from the inbox and also remove it from WhatsApp

chat: 5511999999999, whatsapp: true

Example 2: Delete a chat without affecting WhatsApp

chat: 5511999999999, whatsapp: false

Links

Discussion