ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chatwoot → Conectar Sessão

AI-generated

Summary

Starts a ZapGate WhatsApp session by requesting a QR code or numeric pair code. Returns the connect response, polling for the requested code when it is not included initially.

Inputs

  • method — Choose QR Code (default) or Código numérico (paircode).
  • phone — For paircode, enter the phone number with country calling code, digits only and without a plus sign. Required when method is paircode.
  • qrFormat — For QR mode, choose URL (default), base64 data URL, or binary PNG. The binary choice is requested as base64 for this operation's response.

Output shape

A list of items, each containing the ZapGate response as JSON.

For QR mode, the node polls up to 12 times at 500 ms intervals if the initial response has no qr value; it adds qr and qrFormat when a code is found. Paircode mode similarly polls for pairCode. The operation uses the Admin API Key and the configured instance ID. Errors stop execution unless Continue On Fail is enabled, in which case that item's JSON contains an error field.

Links

Discussion