WasenderApi API

API Documentation

WasenderApi WhatsApp API

Leave Group

Groups

POST/api/groups/{groupId}/leave

Leave a specific group that the user is a member of.

Leave Group

This endpoint allows the connected WhatsApp account to leave a specific group. The account must be a member of the group to successfully leave it.

Parameters

NameTypeRequiredDescription
groupIdstringYesThe JID (Jabber ID) of the group to leave, in the format [email protected].

Code Examples

curl -X POST "https://www.wasenderapi.com/api/groups/[email protected]/leave"
  -H "Authorization: Bearer YOUR_API_KEY"

Response Examples

{
    "success": true,
    "data": {}
}