Event triggered when a new QR code is generated for linking your session.
Webhook Event: qrcode.updated
Triggered when a new QR code is generated for linking your session. The payload contains the QR code data.
See the code example below for the typical payload structure.
Code Examples
{
"event": "qrcode.updated",
"sessionId": "YOUR_SESSION_API_KEY",
"data": {
"qr": "2@67576ghf/RMXr8A2IP3/...", // This is the QR string. Use a QR code library to generate an image.
}
}