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.us
Body
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
Usage Example
Authorizations
Your Wappfy API key (get it at dash.wappfy.com.br)
Path Parameters
ID do Grupo
Body
application/json