Saved filter with API

Hi all,
I have some Saved filters for companies.
I’d like to get these filters via the API and use that result to get filtred companies.
first call : i will get all my saved filters.
second call: i will choose one filter and get some filtred companies.
Is it possible ? if yes, what endpoints should i call in order to accomplish this.

Thanks a lot!

Hi @Xalbi,

I hope all is well with you :slightly_smiling_face:

Presently, it is not possible to retrieve both saved filters or retrieve filtered company records. We are only able to search companies by domain name - Search for companies by domain.

That said, @IsaacTakushi shared the best approach here: Can we filter the companies using a custom property which I’d recommend for you to check it out.

Moving forward, if you’d like, please jump over to this similar idea posted on our HubSpot idea forum here: Search contacts, companies and deals by custom properties to give it an upvote and comment. I can honestly see a use case for this request and I’ve also given it an upvote. Hopefully this will gather more interest!

Hope this helps to clarify!