Answered

How to filter company api

  • 20 October 2023
  • 1 reply
  • 20 views

I’d like to retrieve changes or additions to the company data from yesterday or last month in batch.

Since I have not seen a way of filtering the api query to companies I wonder how to best achieve this. From what I see I have to use the “Scroll over all companies” or “List all companies” API retrieving all Companies and filter the result according my needs.

Any other suggestions are very well appreciated, thanks.

icon

Best answer by Jacob Cox 31 October 2023, 16:13

View original

1 reply

Userlevel 4
Badge +5

Hi @pheld2000 !

You are correct that there isn’t currently a search call for the /companies endpoint. You’ll need to retrieve a list of all of your companies and then filter them based on the updated_at attribute on your end. It would be great to have this search ability built into the API itself. I’ll flag this as a Feature Request with our team! Thanks for reaching out!

Reply