Gruppi
Promote to admin
POST
This number must be a group admin; otherwise WhatsApp rejects it.
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
participants*array<string>Phone numbers or chatIds of the people. Each Brazilian phone number is checked on WhatsApp; one without an account rejects the whole request.
Elementi
1 <= items <= 256Promoted.
application/json- response
data*curl -X POST 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/admins/promote' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "participants": [ "5581999999999" ]}'{ "data": { "id": "string", "action": "promote", "participants": [ "string" ] }}
