ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Canais → Conectar Sessão

AI-generated

Summary

Starts a ZapGate WhatsApp session connection using a QR code or numeric pair code. For QR connections, it can request a URL, base64 image, or binary-format QR; for pair codes, provide a phone number with country code and digits only.

Inputs

  • Method (required) — Choose QR Code (default) or numeric code (paircode).
  • Número (paircode) — Phone number with country code and digits only; required when Method is paircode.
  • Formato do QR — For QR connections, choose URL (default), Base64, or Binário. Binário is retrieved as base64 by this operation; use Obter QR Code with format=bin to receive a PNG binary field.

Output shape

A single item per input item, with a JSON object from the API response.

The operation starts the connection, then polls for the QR value or pair code if it is not already present in the response. Polling lasts up to about six seconds; if no value is returned, the output may contain only the original response. QR output is under qr and pair-code output under pairCode. Requires ZapGate credentials with an Instance ID and an Admin API Key.

Links

Discussion