ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Mensagens → Obter QR Code

AI-generated

Summary

Fetches the QR code for the ZapGate instance using the GET /instances/{instanceId}/qr endpoint. Choose a response format to receive QR data as a URL or base64 JSON, or as a PNG binary attachment.

Inputs

  • Formato do QR (format) — Optional query parameter: url (default), base64, or bin. The instance ID and admin API key come from ZapGate credentials.

Output shape

One item per input item; each contains the QR response in JSON, or a PNG binary attachment when format is bin.

For bin, JSON contains format: "bin" and the PNG is in binary property data with filename whatsapp-qr.png. For url and base64, the node returns the API's JSON response (declared as { qr, format }). Errors stop execution unless Continue On Fail is enabled.

Links

Discussion