ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Perfil → Conectar Sessão

AI-generated

Summary

Starts a ZapGate WhatsApp session connection using a QR code by default, or a numeric pair code when selected. After the connection request, it polls for the QR code or pair code and returns the result with the input item paired to it.

Inputs

  • Method — Choose QR Code (default) or numeric pair code. Pair code requires the phone number below.
  • Phone — Phone number with country code and digits only, without a + sign; required when Method is numeric pair code.
  • QR format — For QR mode, choose URL, Base64 data URL, or Binário (PNG). The binary choice is requested as Base64 during polling and returned in the JSON response.
  • ZapGate credentials (required) — Requires a configured Base URL, Instance ID, and Admin API Key; this operation uses admin authentication.

Output shape

One JSON item for each input item, containing the API response and, when retrieved by polling, the QR code or pair code.

Polls up to 12 times at 500 ms intervals if the initial response lacks the code; a code may therefore be absent if it is not available in time. The selected binary QR format does not produce a binary output here.

Links

Discussion