PUT
Set Group Icon
Set the group profile picture from a public image URL. Requires admin privileges.
API endpoint
https://waclient.com/api/set_group_iconExample:
curl -X PUT \
'https://waclient.com/api/set_group_icon' \
-H 'Content-Type: application/json' \
--data '{
"group_id": "[email protected]",
"image_url": "https://example.com/group-icon.jpg",
"instance_id": "6A4B02A1XXXX",
"access_token": "EMCUH3NQQK8YXXXX"
}'Response
{
"status": "success",
"message": "Success",
"data": {
"group_id": "[email protected]",
"icon_url": "https://pps.whatsapp.net/..."
}
}| Parameter | Description |
|---|---|
| group_id | Group JID, e.g. [email protected] or numeric id |
| image_url | Public URL of the image (JPEG/PNG) |
| instance_id | Your instance ID |
| access_token | Your access token |