Description
This event provides a QR code for authenticating the WhatsApp instance. The QR code is available in both textual and base64 encoded image formats.
Webhook Request
HTTP Method
POST
Request Headers
Name | Value |
---|---|
Content-Type | application/json |
User-Agent | WaAPI Webhook User Agent |
Request Body
{
"event": "qr",
"instanceId": "1",
"data": {
"qr": "Sample QR Code Text",
"base64": "data:image/png;base64,Sample Base64 Encoded Image Data"
}
}