Change the group picture
The picture must be JPEG (preferably square, up to 640×640). Sent via url (downloaded by the Wappfy server) or base64. With info_admin_only turned on, only admins can change 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
url*stringPublic http(s) address of the file. The Wappfy server downloads it (up to 50 MB, 30 s, up to 3 redirects); internal addresses are rejected. Provide url or base64, never both. The photo must be JPEG: the file is not converted.
length <= 2048base64?stringThe file in base64, raw or as a data URL (data:image/png;base64,...). Counts toward the request body limit; for large files, prefer url. The photo must be JPEG.
1 <= lengthPicture changed.
application/json- response
data*curl -X PUT 'https://app.wappfy.io/api/v1/groups/120363000000000000@g.us/picture' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://exemplo.com/logo.jpg"}'{ "data": { "id": "string", "picture_updated": true }}
