Verbindung

QR code to reconnect

GET
/instance/qr

The QR code to pair the number again. WhatsApp's QR code changes every twenty-odd seconds during pairing: request a new one if scanning fails. When connected, responds 409 ja_conectada.

Autorisierung

X-Api-Key: wpf_YOUR_KEY

The connection's API key (wpf_...), generated in the dashboard.

Authorization: Bearer wpf_YOUR_KEY

The same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).

Antwort-Body

The current QR code.

application/json
  1. response
data*
curl -X GET 'https://app.wappfy.io/api/v1/instance/qr' \  -H 'X-Api-Key: wpf_YOUR_KEY'
{  "data": {    "mimetype": "string",    "base64": "string",    "data_url": "string"  }}