Contact Picture
This endpoint lets users fetch the profile picture of a contact. Similar to the Contact Detail endpoint, the contact must already be available through the All Contact endpoint. By passing the contact ID, the Contact Picture feature retrieves the contactβs current profile picture, allowing developers to display a visual representation of the contact. This can be useful for personal messaging applications, customer support tools, or any system where identifying contacts by their profile picture enhances user experience. The picture retrieved will typically be the same image seen on WhatsApp.
get/contact/picture
Request
- Base URLhttps://api.crunchz.app/api
- AuthOAuth 2Client credentialsToken URLhttps://example.com/oauth2/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
contact_idstring required
The contact id
Response
200
Example response
{
"success": true,
"message": "OK",
"data": {
"picture_url": "https://pps.whatsapp.net/v/t61.24694-24/455606028_1695162547911155_348057164093895322_n.jpg?ccb=11-4&oh=01_Q5AaIC_Yz6b0QA5FgORn_gzc6otrR_xkxykzWoy9NAcZSBe5&oe=66ED898E&_nc_sid=5e03e0&_nc_cat=109"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.