cURL
curl --request PUT \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/profile-picture \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "value": "<string>" } '
{ "value": true }
Change the profile picture of the WhatsApp connected to the instance
{ "value": "https://example.com/image.jpg" }
true
false