Before you can send messages or read chats, the WhatsApp Web client must be running and authenticated.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/jihvijhojhviihogyuvi/whatsapp-api/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/auth/start starts that process by launching a Chrome browser instance, connecting it to WhatsApp Web, and returning the current client state. Once Chrome is up, the server will emit a QR code (visible at GET /qr) or complete automatically if saved credentials already exist in auth_dir.
Endpoint
Behavior
- If the client is already running or fully ready, the call returns immediately with the current state — it is safe to call multiple times.
- If initialization is already in progress (another concurrent call), the request waits for that in-flight initialization to finish before returning.
- If saved credentials exist from a previous session, Chrome may authenticate silently without showing a QR code and the state will transition directly from
starting→authenticated→ready.
Response Fields
The response is the same status object returned byGET /api/status.
Lifecycle state immediately after the call. Typically
starting or qr for a fresh client, or ready if credentials were restored from disk.true only if Chrome has fully connected and the session is usable. Most first-time calls will return false here while Chrome starts up.Mirrors
ready.Path to the directory where session credentials are stored.
Path to the Chrome binary being used.
Whether Chrome is running in headless mode.
true when a QR code is ready to scan at GET /qr.Last error message, or
null.Account info when authenticated,
null otherwise.Example Request
Example Response
A typical response immediately after calling the endpoint for the first time, while Chrome is still loading:GET /api/status will return state: "qr" and has_qr: true.