POST
Logout Instance
Log out the WhatsApp Web session and reboot the instance.
API endpoint
https://waclient.com/api/logoutExample:
curl -X POST \
'https://waclient.com/api/logout' \
-H 'Content-Type: application/json' \
--data '{
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Logout successful"
}| Parameter | Description |
|---|---|
| instance_id | WhatsApp Web instance ID |
| access_token | Your access token |