How to get all contacts with a GET from my regular account and not my developer account

oauth
contacts

#1

Hello. First time ever using HubSpot and I am just trying to run a GET and get all of my contacts. I put the GET in Postman from the docs, GET https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=demo&count=2 but run it with my real HAPI key. This returns an empty list. On my regular account I have a ton of contacts and am trying to get those returned with the GET call. How do I link the contacts from my regular account and my developer account. Any help would be much appreciated. Thank you


#2

Hi @gkochmann,

Sounds like you’re using the hapikey from your developer portal. You’ll want to use the hapikey from your Marketing/CRM portal:


#3

Worked! Thank you so much