curl --request POST \
--url https://{server-url}/chat/fetchProfilePictureUrl/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>"
}'
{
"wuid": "553198296801@s.whatsapp.net",
"profilePictureUrl": "https://pps.whatsapp.net/v/t61.2..."
}
curl --request POST \
--url https://{server-url}/chat/fetchProfilePictureUrl/{instance} \
--header 'Content-Type: application/json' \
--header 'apikey: <api-key>' \
--data '{
"number": "<string>"
}'
{
"wuid": "553198296801@s.whatsapp.net",
"profilePictureUrl": "https://pps.whatsapp.net/v/t61.2..."
}
Your authorization key header
Name instance
Ok
The response is of type object
.