POST
/
chat
/
fetchProfilePictureUrl
/
{instance}
curl --request POST \
  --url https://api.wappfy.com.br/chat/fetchProfilePictureUrl/{instance} \
  --header 'Content-Type: application/json' \
  --header 'apikey: <api-key>' \
  --data '{
  "number": "<string>"
}'
{
  "wuid": "559912345678@s.whatsapp.net",
  "profilePictureUrl": "https://pps.whatsapp.net/v/xyz..."
}

Authorizations

apikey
string
header
required

Seu cabeçalho da chave de autorização.

Path Parameters

instance
string
required

ID da instância.

Body

application/json
number
string

Number to fetch profile picture URL

Response

200 - application/json
Ok
wuid
string

The WhatsApp User ID (WUID).

profilePictureUrl
string

URL of the user's profile picture.