Skip to main content
POST
Leave group

Overview

Method that makes the connected number leave a group it takes part in.
On WhatsApp Official this route is not available and answers 422. Meta’s Groups API has no leave-group action, only deleting the group, which removes all participants, including the business. This route does not do it: the group is not deleted.

Authorizations

Authorization
string
header
required

Secret Key generated in the Omni Z-API Security panel

Body

application/json
groupId
string
required

Group ID/Phone

Example:

"120363019502650977-group"

Response

Success.

value
boolean

Result of the operation