Get the account status and QR code for authorization.
status
Reauthorization is necessary only in case of changing the device or manually pressing "Logout on all devices" on the phone. Keep the WhastsApp application open during authorization. Instance statuses: **authenticated** - Authorization passed successfully substatuses: * normal - Keep your phone connected; * phone - Phone not connected; * computer - Trying to reach phone * offline - Computer not connected * battery_low.. - Charge your phone to keep using WhatsApp **init** - Initial status **loading** - The system is still loading, try again in 1 minute substatuses: * syncing - Keep your phone connected; **got qr code** - There is a QR code and you need to take a picture of it in the Whatsapp application by going to Menu -> WhatsApp Web -> Add. QR code is valid for one minute. [Example showing base64 images on a page.](https://stackoverflow.com/questions/31526085/how-to-encode-an-image-into-an-html-file) Manually easier to get [QR-code as an image](/#getQRCode) When you request the status of the instance in standby mode (status **"init"**), it will automatically turn on. To avoid this behavior, use the **no_wakeup** parameter
Request test
Request URL
Parameters
instanceid
|
|
token
|
{ "accountStatus": "got qr code", "qrCode": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQ.....", "statusData": { "substatus": "normal", "title": "Keep your phone connected", "msg": "WhatsApp connects to your phone to sync messages. To reduce data usage, connect your phone to Wi-Fi.", "submsg": "Retrying...", "actions": { "expiry": { "act": "logout", "label": "Logout" }, "retry": { "act": "logout", "label": "Logout" }, "logout": { "act": "logout", "label": "Logout" }, "takeover": { "act": "logout", "label": "Logout" }, "learn_more": { "label": "Learn more", "link": "https://wikipedia.org" } }, "reason": "connecting" } }