Get contact
Get Contact
Retrieve a specific contact by phone number or chat ID.
GET
Get contact
Retrieve detailed information about a specific contact in your WhatsApp instance.
This endpoint allows you to:
- Get contact details by phone number or chat ID
- Retrieve the contact’s name and pushname
- Verify contact information before sending messages
This is useful when you need to fetch information about a specific contact before interacting with them.
Use Cases
Contact Lookup
Quickly look up contact details using their phone number or chat ID.Contact Verification
Verify that you have the correct contact information before sending important messages.CRM Integration
Sync contact details from WhatsApp to your CRM system.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 contact is found:Contact Not Found
When the contact doesn’t exist:Best Practices
The
pushname is the name the user has set in their WhatsApp profile, while name is the name saved in your phone’s contacts.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"