ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Informações → Conectar Sessão

AI-generated

Summary

Starts a ZapGate WhatsApp session for the configured instance using a QR code or numeric pair code. Returns the connection response and polls for the QR or code if it is not included immediately.

Inputs

  • Method — Choose QR Code (default) or numeric code (paircode).
  • Phone number — Required for paircode; enter digits with country code, without a + sign.
  • QR format — For QR mode, choose URL (default), Base64, or PNG binary. The operation converts the binary choice to Base64 for its follow-up QR request. Instance ID and admin API key are supplied through ZapGate credentials.

Output shape

A single item per input item, with the ZapGate response in JSON.

For QR mode, the response includes qr when available; for paircode mode, it includes pairCode when available. The node polls up to 12 times at 500 ms intervals if the initial response omits the value. Errors stop execution unless Continue On Fail is enabled, in which case that item's JSON contains an error.

Links

Discussion