Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs(runbooks): save the pairing QR as a PNG instead of feeding qrencode
Yudhi Armyndharis5f7ce48c9ffa
diff --git a/docs/11-operational-runbooks.md b/docs/11-operational-runbooks.mdindex 8b59fab2f..7a645aea8 100644--- a/docs/11-operational-runbooks.md+++ b/docs/11-operational-runbooks.md@@ -146,8 +146,11 @@ curl -H "X-API-Key: $API_KEY" \curl -H "X-API-Key: $API_KEY" \http://localhost:2785/api/sessions/{sessionId}/qr-# Display QR in terminal: there is no raw/format param — consume the `session.qr`-# webhook/WebSocket event to get the raw QR string for qrencode.+# Save the QR as a PNG to open or scan. There is no raw QR string: the `session.qr`+# webhook/WebSocket event carries the same PNG data URL as this endpoint.+curl -s -H "X-API-Key: $API_KEY" \+ http://localhost:2785/api/sessions/{sessionId}/qr \+ | jq -r .qrCode | sed 's#^data:image/png;base64,##' | base64 -d > qr.png```**Verification:**