Starts a link and answers once WhatsApp shows something (a few seconds): a QR to scan, or a pairing code with pairing_phone_number. Both are 201 Checkpoint. The QR rotates about every 20 s: read the current one from GET /accounts/{id} (gateway.checkpoint). When the phone accepts, the account goes OK (events CREATION_SUCCESS, OK). 503 whatsapp-connecting when WhatsApp did not answer: try again.
Your API key from the console (gw_live_…).
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/whatsapp/api/v1/accounts" \ -H "Content-Type: application/json" \ -d '{ "provider": "WHATSAPP", "country": "FR" }'{ "object": "Checkpoint", "account_id": "wa_Xk2pQ9rT4vW8yZ1a", "checkpoint": { "type": "QRCODE", "qrcode": "2@Zm9vYmFyLWV4YW1wbGUtcXI=,ZXhhbXBsZQ==,ZmFrZQ==", "expires_at": "2026-10-31T09:30:20.000Z" }}