WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Session → Get QR Code

AI-generated

Summary

Retrieve the QR code image for a selected session.

Inputs

  • sessionId (required) — Unique identifier for the session; select from the list or provide a custom ID; defaults to the credential's session if empty.

Output shape

binary image (PNG) representing the QR code

The operation returns the QR code image data; failures may result in an error field rather than image data.

Examples

Example 1: Obtain QR code to initialise WhatsApp Web

Choose a session ID (or leave empty for default) and run Get QR Code; the returned binary image can be saved or displayed.

Example 2: Refresh QR code for an existing session

Provide the session ID in the input and execute Get QR Code again to receive an updated image.

Links

Discussion