Skip to main content
POST
Group settings

Overview

Method that changes the group preferences. Only administrators can change the group preferences.
On WhatsApp Official this route is not available and answers 422. Meta only sets join approval when the group is created: for that, use requireAdminApproval in Create group.

Authorizations

Authorization
string
header
required

Secret Key generated in the Omni Z-API Security panel

Body

application/json
phone
string
required

Group ID/Phone

Example:

"120363019502650977-group"

adminOnlyMessage
boolean
required

Only administrators can send messages

adminOnlySettings
boolean
required

Only administrators can change the group settings

requireAdminApproval
boolean
required

Requires administrator approval for new members

adminOnlyAddMember
boolean
required

Only administrators can add members

Response

Success.

value
boolean

Result of the operation