How can I get more contacts via api?


#1

Hi,

I am getting the Hubspot contacts in my MongoDB, but only 100. HubSpot says,
" The maximum amount of contacts you can have returned to you via count parameter is 100."
That's nothing actually,
Is there any solution for it?

Thanks and Regards.


#2

Hi @Patel,

The response to the 'Get all contacts' endpoint is paginated, meaning you can only get 100 at a time. You'll need to use the vidOffset value you get from your first request to pull the next 100, and so on and so forth: