Change group settings
Changes only the settings included in the body, one at a time. This number must be an admin; otherwise WhatsApp rejects it (403 sem_permissao). If one fails, the previous ones have already taken effect: repeating the same request is safe.
X-Api-Key: wpf_YOUR_KEYThe connection's API key (wpf_...), generated in the dashboard.
Authorization: Bearer wpf_YOUR_KEYThe same key in Authorization: Bearer wpf_... (what n8n, Make and HTTP libraries support out of the box).
gid*stringGroup id (120363000000000000@g.us, or just the digits).
Idempotency-Key?stringOptional. Repeating the same value within 24 h, with the same API key, returns the first response without sending again. See Idempotency in the introduction.
application/json- body
Only the fields sent are changed; send at least one.
info_admin_only?booleantrue: only admins change the group's name, description and photo.
messages_admin_only?booleantrue: only admins send messages in the group.
member_add_mode?stringall_member_add: any member can add people; admin_add: admins only.
"admin_add""all_member_add"membership_approval?booleantrue: people joining via the link wait for an admin's approval (see GET /groups/{gid}/join-requests).
The changed settings.
application/json- response
data*Only the settings that were changed, with the new value.
curl -X PATCH 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/settings' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "messages_admin_only": true, "member_add_mode": "admin_add"}'{ "data": { "id": "string", "info_admin_only": true, "messages_admin_only": true, "member_add_mode": "admin_add", "membership_approval": true }}
