Is it possible to find a company by a property in the API?


#1

we are working on synchronizing companies via the API. We need to be able to check if a company exists in HubSpot. The best option would be to be able to perform a search by a specific property (in our case, a custom property that we have added). Is that possible?


Set the companyId
#2

Hi @jmoulton,

It is only possible to get Companies by recently created, recently modified, the domain name, or the ID. Generally, the best solution would be storing the company ID on your end.

-Zack


#3

Could you please add this as a new API request?
If companies are imported by CSV, it’s difficult to store all the IDs in our database without syncing.

thanks