Skip to main content
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 the apikey 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

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

When locked, only admins can change the group subject (name), description, and profile picture. Regular members cannot edit these settings.

Usage Notes

Combining announcement mode with locked settings creates a fully admin-controlled group where only admins can post and edit.
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):
Request body:
Expiration values:
  • 0: Disabled (messages don’t disappear)
  • 86400: 24 hours (1 day)
  • 604800: 7 days
  • 7776000: 90 days