ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Arquivar Chat

AI-generated

Summary

Archives or unarchives a WhatsApp chat for the configured ZapGate instance.

Inputs

  • Número (chat) (required) — Phone number with country code, digits only, or a group JID. The operation also provides an Arquivar boolean, defaulting to true; set it to false to unarchive.

Output shape

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

Sends a POST request to the instance chat archive endpoint using the configured ZapGate credentials. The instance ID comes from credentials; the chat number and archive flag are sent in the request body. Errors stop execution unless Continue On Fail is enabled, in which case an item with an error field is returned.

Examples

Example 1: Archive a chat

Set Número (chat) to a phone number with country code or a group JID; leave Arquivar enabled.

Example 2: Unarchive a chat

Set Número (chat) to the target and Arquivar to false.

Links

Discussion