Contacts API Pagination in Postman


#1

I need to get all contacts in from API and as HubSpot only let 100 contacts per request, I need to get pagination done in Postman. Is this possible to set up pagination in Postman and save all results in a big file?
I am new to the Postman and have no idea even if this is possible or not.


#3

Hi @pan999, to my knowledge you can't do this programmatically in Postman. You'll need to manually enter the offset values to get the next set of contacts in each request. I created a pagination tool in NodeJS that I pushed to GitHub that you can check out as a simple example: https://github.com/cbarley10/hubspot-pagination. It does exactly what you describe.