Leave Community

Supported & Tested

Leave a WhatsApp Community from the connected session.

POSThttps://api.waplix.io/api/v1/communities/leave
Authentication
Authorization: Bearer YOUR_API_KEY
Parameters Specification
instance_id
stringReq

Required Waplix instance id

community_id
stringReq

Required valid WhatsApp community id ending with @g.us

Usage Notes
Leave a WhatsApp Community from the connected session. Emits community.left webhook after confirmed success.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/communities/leave" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "instance_id": "demo_instance",
  "community_id": "120363000000000001@g.us"
}'
Success Response
Response · 200 OK
{
  "success": true,
  "data": {
    "instance_id": "demo_instance",
    "community_id": "120363000000000001@g.us",
    "status": "left"
  }
}
Was this page helpful?