Search and filter contacts. Returns a flat list of matching contacts.
Security
authorization
Search Request
Filters object for contact search. All filters are inclusion-only.
Example:
{ "companies": { "ids": [ … ] }, "contact_location": { "countries": [ … ] }, "job_functions": [ "Engineering" ], "job_seniority": [ "Director" ], "time_in_current_role": [ "company_veteran" ] }
- https://api.hginsights.comhttps://api.hginsights.com/data-api/v2/contacts/search
curl -i -X POST \
https://api.hginsights.com/data-api/v2/contacts/search \
-H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filters": {
"companies": {
"ids": [
"1698C53EBC888758570396E0334965C1"
]
},
"contact_location": {
"countries": [
"US"
]
},
"job_functions": [
"Engineering"
],
"job_seniority": [
"Director"
],
"time_in_current_role": [
"company_veteran"
]
},
"limit": 10,
"offset": 0
}'Search Response
Example:
[ { "company_domain": "acme.com", "company_id": "1488903ED478F8C51D09F2EC5F2DCDA2", "company_name": "Acme", "contact_location_city": "Vancouver", "contact_location_country": "Canada", "contact_location_region": "British Columbia", "first_name": "John", "full_name": "John Doe", "id": "7a932d2ae5dab0ca88348198c9129c9167ff34f92c4abd47f291f5d1c35d237a", "job_functions": [ … ], "job_seniority": "Founder", "job_title": "Co-Founder", "last_name": "Doe", "linkedin_url": "https://www.linkedin.com/in/john-dow" } ]
Response
{ "contacts": [ { … } ], "count": 1 }