How do I construct the url to call the GetAll Contacts api?



Theres seems to a piece missing from the docs. How does it know which portal Im referencing? Heres an example Im trying to use.



Can someone point me in the right direction, this is very frustrating, it should be very simple, looking through the forums I see url’s constructed very different then what the api docs suggest.


Hey @mhoward

HubSpot knows the portal you are referencing because hapikeys (and OAuth tokens for that matter) are unique to a portal so there would be no need to reference it in your request.



I finally figured it out. I had to click on the Integration link and generate a key from there, The docs do not mention anything in that regard. The key I was using was from the dev portal, this was to simple to be so confusing, Docs are not correct!