QR Code

Supported & Tested

Retrieve the connection status and base64 QR payload or data URL for pairing scanner.

GEThttps://api.waplix.io/api/v1/instances/qr-json
Authentication
Authorization: Bearer YOUR_API_KEY
Parameters Specification
instance_id
stringReq

Waplix instance id slot

Usage Notes
If status is already connected, both qr and qr_data_url fields return null with qr_available: false.
Request Payload Example
Request
curl -X GET "https://api.waplix.io/api/v1/instances/qr-json" \
  -H "Authorization: Bearer YOUR_API_KEY"
Success Response
Response · 200 OK
{
  "success": true,
  "message": "QR retrieved",
  "data": {
    "instance_id": "demo_instance",
    "qr": "1@uqWp7N9aH7Mv8X3s...long_pairing_token...",
    "qr_data_url": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...",
    "qr_available": true
  },
  "error": null
}
Was this page helpful?