Skip to main content
GET
/
instance
/
qr
/
image
Get Instance QR Image
curl --request GET \
  --url https://app.wachat.net/api/v1/instance/qr/image \
  --header 'Authorization: Bearer <token>'
"<string>"
Return the WhatsApp QR code directly as an image. This endpoint is useful when you want to display the QR code in a browser, documentation page, or an <img> tag. For browser image rendering, pass the API key as a query parameter because image tags cannot send Authorization headers.
<img src="https://app.wachat.net/api/v1/instance/qr/image?instanceName=t1_mq9r2jov_store-jakarta&apiKey=YOUR_API_KEY" alt="WhatsApp QR Code" />
Passing an API key in a URL can expose it in browser history, logs, or analytics. Use this only when you need direct image rendering. For backend integrations, prefer the Authorization: Bearer YOUR_API_KEY header.

Authorizations

Authorization
string
header
required

Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.

Query Parameters

instanceName
string
required

Final unique instance name returned by Wachat.

apiKey
string

Optional API key for direct browser image rendering. Prefer Authorization bearer header for server-to-server requests.

Response

QR code image returned successfully.

The response is of type file.