Skip to main content
GET
Get the QR code to scan with WhatsApp for session pairing. The session must be connected but not logged in.

Prerequisites

  1. Call /session/connect first
  2. Check /session/status returns connected: true and loggedIn: false

Response Fields

string
Base64-encoded PNG image in data URI format (data:image/png;base64,...)
QR codes expire after approximately 60 seconds. Request a new one if it expires.