Overview
You can fetch detailed profile information for any WhatsApp contact, including their status, profile picture, and business profile details if applicable.
This endpoint works for both individual contacts and business accounts.
Authentication
This endpoint requires authentication via the apikey header.
Your Evolution API key for authentication.
Path Parameters
The name of your WhatsApp instance.
Request Body
The phone number in international format without the ’+’ sign (e.g., “5511999999999”).
Response
WhatsApp ID of the contact.
Contact’s WhatsApp status/about text.
Whether this is a business account.
URL of the contact’s profile picture.
Business profile information (only present for business accounts). Array of business website URLs.
Business physical address.
Business category/industry.
curl --request POST \
--url https://api.example.com/chat/fetchProfile/my-instance \
--header 'apikey: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"number": "5511999999999"
}'
200 Success (Individual)
200 Success (Business)
400 Bad Request
401 Unauthorized
404 Not Found
{
"wid" : "[email protected] " ,
"name" : "John Doe" ,
"status" : "Available" ,
"isBusiness" : false ,
"profilePictureUrl" : "https://example.com/profile-john.jpg"
}
Usage Notes
The contact’s status is their WhatsApp “About” text, which they can customize in their settings.
Use this endpoint to verify if a number is registered on WhatsApp before sending messages.
Business profile information is only available for WhatsApp Business accounts.
Fetch Profile Picture
To get only the profile picture URL:
POST /chat/fetchProfilePictureUrl/:instanceName
Request body:
{
"number" : "5511999999999"
}
Fetch Business Profile
To get detailed business profile information:
POST /chat/fetchBusinessProfile/:instanceName
Request body:
{
"number" : "5511888888888"
}
Check WhatsApp Number
To check if numbers are registered on WhatsApp:
POST /chat/whatsappNumbers/:instanceName
Request body:
{
"numbers" : [ "5511999999999" , "5511888888888" ]
}
Returns an array indicating which numbers exist on WhatsApp.