POST

https://{server-url}

/
chat
/
fetchProfilePictureUrl
/
{instance}
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..."
}

Authorizations

apikey
string
headerrequired

Your authorization key header

Path Parameters

instance
string
required

ID of the instance to connect

Body

application/json
number
string

Number to fetch profile picture URL

Response

200 - application/json
wuid
string

The WhatsApp User ID (WUID).

profilePictureUrl
string

URL of the user's profile picture.