Get profile picture
Get Profile Picture
Retrieve the profile picture URL for a specific contact.
GET
Get profile picture
Get the profile picture URL for any contact in your WhatsApp instance.
This endpoint allows you to:
- Retrieve profile picture URLs for contacts
- Display contact avatars in your application
- Verify contact identity visually
The returned URL is a direct link to the WhatsApp CDN where the profile picture is hosted.
Use Cases
Display Contact Avatars
Show contact profile pictures in your application’s UI for better user experience.Contact Identity Verification
Visually verify contact identity before sending sensitive information.CRM Integration
Sync contact profile pictures to your CRM system for better contact management.Chat Interface
Build a chat interface that displays profile pictures alongside messages.Request Parameters
chat_id
The contact identifier can be in one of these formats:- Phone number:
123123123 - Chat ID (regular):
[email protected] - Chat ID (lid):
123123@lid
Response Examples
Successful Response
When the profile picture is found:No Profile Picture
When the contact has no profile picture:Best Practices
Some users may have privacy settings that prevent you from viewing their profile picture. In such cases, the URL will be null or point to a default image.
Integration Example
Displaying Profile Pictures in Your App
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
application/json
Example:
"application/json"
application/json
Example:
"application/json"
Path Parameters
Instance UUID copied from hypersender dashboard
Example:
"{{ instance_id }}"
Query Parameters
Phone number (123123123) or chat ID ([email protected] or 123123@lid)
Example:
"100875997589545@lid"