Search companies based on properties

companies

#1

I have to search all those companies whoes property lifecyclestage set to customer but I am unable to find an API for this task.


Can we filter the companies using a custom property
#3

Welcome, @muslim-niche!

At this time, it is not possible to search company records by specific property values — only by domain.

Currently, the best way to approach this is to loop through this endpoint to retrieve all company records in your account, then identify all which have the lifecyclestage property value of customer.

I have heard requests for more robust Companies API search options before, though. If you would like to see a property search feature added, please upvote and comment on this HubSpot Community Ideas Forum post.This information is sent directly to our Product team and helps prioritize feature requests that have the greatest impact on our customers. I’ve already upvoted the idea and will also pass this feedback along through internal channels.