flow api
Account · GET

qr

Get the QR code to link a WhatsApp number to the instance, as a base64 PNG.

Endpoint

GET https://flowapi.pro/waInstance{idInstance}/qr/{apiTokenInstance}

Example

curl "https://flowapi.pro/waInstance{idInstance}/qr/{apiTokenInstance}"

Response

{
  "type": "qrCode",
  "message": "iVBORw0KGgoAAAANSUhEUgAA…"
}

Notes

  • If the number is already linked the response type is alreadyLogged.
  • Codes expire after about 20 seconds; ask again for a fresh one.
Green API compatible. qr uses the same name, request body and response as Green API, so existing code works after you change the host to flowapi.pro. Errors: 401 wrong instance or token, 402 trial ended or number not covered by your plan, 400 with a message for anything else.

More account methods

Try it on your own number

7 days free, no credit card. Then $10 per number per month.

Start free trial