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

session
string
required
WhatsApp unique session ID
id
string
required
ID of the group in format 120363XXXXX@g.us

Body

Body Parameters

Response

Status Codes

  • 200 - Configuration updated successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 403 - No permission (admins only)
  • 404 - Group not found

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

id
string
required

ID do Grupo

Body

application/json
adminsOnly
boolean
default:true
required

Response

200 - undefined