v1

latestOpenAPI 3.1.02026-07-14330101.9 KB

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

Query parameters

contact_idstring required

The contact id

Response

200

successboolean
messagestring

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"
  }
}