cURL
curl --request POST \ --url https://{server-url}/chat/fetchProfilePictureUrl/{instance} \ --header 'Content-Type: application/json' \ --header 'apikey: <api-key>' \ --data ' { "number": "<string>" } '
{ "wuid": "[email protected]", "profilePictureUrl": "https://pps.whatsapp.net/v/t61.2..." }
Fetch Profile Picture URL
Your authorization key header
Name instance
Number to fetch profile picture URL: {{remoteJid}}
Ok
The WhatsApp User ID (WUID).
URL of the user's profile picture.