ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Inbox (painel) → Obter QR Code

AI-generated

Summary

Fetches the QR code for the ZapGate instance using a GET request. Choose a response format to receive the QR as a wa.me URL, a base64 data URL, or a PNG binary file.

Inputs

  • Format do QR — Optional query parameter: URL (wa.me), Base64 (data URL PNG), or Binário (PNG). Defaults to URL. Requires the ZapGate credentials, including an Instance ID and a valid admin API key.

Output shape

One output item per input item, with QR response data in JSON or binary form.

For URL or Base64, the API response object is returned as JSON, typically including qr and format. For Binário, the item has json.format set to bin and the PNG in binary.data, named whatsapp-qr.png with MIME type image/png.

Examples

Example 1: Retrieve a QR code as a wa.me URL (default) or base64 data URL

Set Format do QR to URL (wa.me) or Base64 (data URL PNG).

Example 2: Retrieve the QR code as a PNG file

Set Format do QR to Binário (PNG); the file is available in the output item's binary.data field.

Links

Discussion