APIs & Integrations

KGaur
Participant

Need to get all the contacts

Hi 
I am trying to fetch all the contacts from the server using below API. 
But when i passed count=100000 , it returned only 500 contacts 

but there are more than 20000+ contacts are there , could anyone please help me with this ?

 

url : https://api.hubapi.com/contacts/v1/lists/all/contacts/recent?hapikey=[here is my key]&count=100000&P...


Thanks

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Need to get all the contacts

Hi, @KGaur  👋 Thanks for reaching out. Can you provide  code snippets to help provide our community with additional information, please?
This should include the following:

  • The full request minus your API key or Token
  • The full response body
  • You can use the code block option to help with formatting
    CleanShot 2022-07-18 at 15.22.38.png

This will help the community better understand your issue.

 

Thanks! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes