orvachat

Sessions

Get QR Code

GET/api/v1/session/qr

Get the QR code to scan (a PNG data URL) while the number is pairing.

Parameters

No parameters.

Code Examples

cURL
curl -X GET "https://orvachat.com/api/v1/session/qr" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response Example

200 OK
{
  "code": 200,
  "data": {
    "QRCode": "data:image/png;base64,..."
  },
  "success": true
}