cURL
curl --request POST \ --url https://{server-url}/chat/updateProfilePicture/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data '{ "picture": "<string>" }'
Update profile picture
Your authorization key header
Name instance
New spicture URL