APIs & Integrations

gkochmann
Member

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

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

0 Upvotes
2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

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

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:

gkochmann
Member

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

Worked! Thank you so much