Get Contact Profile Picture Image
curl --request GET \
--url https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/imageimport requests
url = "https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/image"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}contacts
Get Contact Profile Picture Image
Return a contact profile picture suitable for embedding in UIs.
GET
/
api
/
v1
/
contacts
/
{contact_id}
/
profile-picture
/
image
Get Contact Profile Picture Image
curl --request GET \
--url https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/imageimport requests
url = "https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/image"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/api/v1/contacts/{contact_id}/profile-picture/image', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Headers
Path Parameters
Query Parameters
Connected WhatsApp account to use for the lookup.
Return thumbnail preview when true.
When true, stream the image bytes through Wazzapi instead of redirecting.
Response
Successful Response