Update settings - who can send messages
Groups
Set Messages Admin Only
Configure if only admins can send messages in the group
PUT
Update settings - who can send messages
Description
This endpoint allows configuring if only admins can send messages in the group (announcement mode).URL Parameters
WhatsApp unique session ID
ID of the group in format
120363XXXXX@g.usBody
Body Parameters
| Property | Type | Required | Description |
|---|---|---|---|
announce | boolean | ✅ Yes | true to activate announcement mode (admins only), false to allow all participants |
Response
Status Codes
200- Configuration updated successfully400- Invalid parameters401- Unauthorized403- No permission (admins only)404- Group not found
