ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Grupos → Obter QR Code

AI-generated

Summary

Fetches a QR code for the ZapGate instance using its configured credentials. Choose the output format to return the QR data as a URL or base64 JSON response, or as a PNG binary attachment.

Inputs

  • Formato do QR — Optional query format: url (default) or base64 returns the API’s JSON response; bin downloads a PNG into the item’s binary data field.
  • ZapGate credentials (required) — Requires the ZapGate base URL, Admin API Key, and Instance ID configured in the credentials.

Output shape

One item per input item, containing either JSON or a binary PNG.

For url or base64, the API JSON response is passed through. For bin, JSON contains { "format": "bin" } and binary property data contains whatsapp-qr.png as image/png. The operation makes a GET request to the instance QR endpoint.

Examples

Example 1: Fetch the QR code as a PNG file for a workflow step that stores or forwards binary data.

Set Formato do QR to bin. The node outputs the PNG in binary property data.

Links

Discussion