This event is triggered when the session status changes (e.g., from WORKING to STOPPED).
Uptime Monitoring
Use this event to detect if your WhatsApp instance goes offline so you can alert your support team or trigger an automated restart.
Status Mapping
The 'status' field returns values like WORKING, STOPPED, and SCAN_QR_CODE.
Best practices
Store the 'WORKING' status in your database to prevent sending messages to an offline instance.
Notify administrators immediately if a session moves to 'SCAN_QR_CODE' status.
Use the 'session' field to identify which account changed status.
Expected Responses
Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.