ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Conectar Sessão

AI-generated

Summary

Starts a ZapGate WhatsApp session for the instance in the ZapGate credentials. Choose QR code or numeric pair code; for pair code, provide a phone number with country code and digits only. QR format can be URL, base64, or bin (returned as base64 by this operation).

Inputs

  • Method — Select QR Code (default) or numeric code (paircode).
  • Número (paircode) — Phone number with country code, digits only and no +. Required when Method is paircode.
  • Formato do QR — Select URL (default), Base64, or Bin. Applies to QR mode; Bin is requested as base64 for this operation.
  • ZapGate credentials (required) — Requires the ZapGate API credentials, including a Base URL, Admin API Key, and Instance ID.

Output shape

A single item per input item, with the API response in json.

The response includes QR data or a pair code when available. If the initial connect response omits it, the node polls the QR or pair-code endpoint for up to 12 attempts at 500 ms intervals. With QR format bin, the response contains base64 QR data in JSON; this operation does not return a binary field.

Examples

Example 1: Connect via QR

Select QR Code and choose a QR format. The default URL format is used if no format is selected.

Example 2: Connect via numeric pair code

Select numeric code (paircode) and provide the phone number with country code, digits only, and no plus sign.

Links

Discussion