Change the profile picture
The picture must be JPEG (preferably square, up to 640×640), via url or base64. Changes the profile of the entire number, everywhere it appears (not only in this integration). Each change is recorded in the Wappfy audit log, with the connection and the key used.
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).
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/profile/picture' \ -H 'X-Api-Key: wpf_YOUR_KEY' \ -H 'Content-Type: application/json' \ -d '{ "url": "https://exemplo.com/logo.jpg"}'{ "data": { "picture_updated": true }}
