Skip to main content
POST
/
v1
/
session
/
logout
curl -X POST https://api.livchat.ai/v1/session/logout \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "code": 200,
  "data": {
    "details": "Logged out"
  }
}
Completely logout from WhatsApp and terminate the session. A new QR scan will be required to reconnect.
This permanently ends the session. The device will be unlinked from your WhatsApp account.
curl -X POST https://api.livchat.ai/v1/session/logout \
  -H "Authorization: Bearer YOUR_API_KEY"
{
  "success": true,
  "code": 200,
  "data": {
    "details": "Logged out"
  }
}