English
cURL
curl --request POST \ --url https://api.wppfy.com/profile/image \ --header 'Content-Type: application/json' \ --header 'token: <api-key>' \ --data ' { "image": "https://picsum.photos/640/640.jpg" } '
{ "success": true, "message": "Profile image changed successfully", "profile": { "image_updated": true, "image_removed": false, "updated_at": 1704067200 } }
Changes the profile image of the WhatsApp instance.
The endpoint performs:
Important:
Profile image. Can be:
"https://picsum.photos/640/640.jpg"
Profile image changed successfully
true
"Profile image changed successfully"
Show child attributes
Indicates if the image was updated
Indicates if the image was removed
false
Timestamp of the update (Unix timestamp)
1704067200