Groups
Update Group Settings
Configure group messaging and editing permissions.
POST
Overview
You can control who can send messages and edit group information. This includes setting the group to announcement-only mode or restricting who can change group settings.Only group admins can modify group settings.
Authentication
This endpoint requires authentication via theapikey header.
string
required
Your Evolution API key for authentication.
Path Parameters
string
required
The name of your WhatsApp instance.
Request Body
string
required
The WhatsApp group JID (can be provided with or without the
@g.us suffix).string
required
The setting to change. Must be one of:
announcement: Only admins can send messages (enable announcement mode)not_announcement: All members can send messages (disable announcement mode)locked: Only admins can edit group info (subject, description, picture)unlocked: All members can edit group info
Response
boolean
Whether the setting was updated successfully.
string
The group’s WhatsApp JID.
string
The action that was performed.
boolean
Current announcement mode status.
boolean
Current restriction status for editing group info.
Setting Explanations
Announcement Mode
- announcement
- not_announcement
When enabled, only group admins can send messages. Regular members can only read messages. This is useful for broadcast-style groups where you want to limit who can post.
Group Info Editing
- locked
- unlocked
When locked, only admins can change the group subject (name), description, and profile picture. Regular members cannot edit these settings.
Usage Notes
These settings don’t affect the ability to add or remove participants, which always requires admin permissions.
Additional Endpoints
Toggle Disappearing Messages
To configure disappearing messages (ephemeral mode):0: Disabled (messages don’t disappear)86400: 24 hours (1 day)604800: 7 days7776000: 90 days