ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Canais → Arquivar Chat

AI-generated

Summary

Sends a request to archive or unarchive a chat for the configured ZapGate instance.

Inputs

  • Número (chat) (required) — Phone number with country code using digits only, or a group JID. The UI properties supplied are empty, but the operation definition declares this required field.
  • Arquivar — Boolean that controls the archive state; defaults to true to archive the chat. Set false to unarchive it.
  • ZapGate credentials (required) — Requires the instance ID and either an Admin API Key or Instance Token, plus the base URL.

Output shape

A single n8n item per input item, containing the ZapGate API response as JSON.

Makes a POST request to the instance chat archive endpoint. The response is passed through when it is an object; non-object responses are returned as {"result":"…"}. If the request fails and Continue On Fail is enabled, the item contains an error field.

Links

Discussion