ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chat → Arquivar Chat

AI-generated

Summary

Archive or unarchive a WhatsApp chat for the configured ZapGate instance. Set “Arquivar” to true to archive it or false to unarchive it.

Inputs

  • Número (required) — Chat phone number with country code, digits only; for a group, provide its JID (for example, 120363123456789012@g.us).
  • Arquivar — Whether to archive the chat; defaults to true.

Output shape

A single item containing the ZapGate API response as JSON.

Makes a POST request to the instance chat archive endpoint using the configured ZapGate credentials. If the API response is not an object, it is returned as {"result": "…"}; request errors are thrown unless Continue On Fail is enabled, in which case the item contains an error field.

Links

Discussion