Can't have those APIs work - Contact List not showing

developertools
contacts

#1

Hi,

Being new to hubspot, I wanted to try out Hubspot’s API to list all contacts.

So I created my developer account, grabbed by HAPI Key and tried this :
https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=MyHAPIKey

Unfortunately, I’m getting an empty contact list and I just can’t understand what is going on.

Would anyone have a clue ?

Here is my HUB ID : 4103697

Thanks,

Alex


#2

Hi @Alex_MS,

Is that the hapikey from your developer portal? Developer portal hapikeys cannot be used to make requests to a Marketing/CRM portal. To make requests to a Marketing/CRM portal, you’ll need to grab the hapikey from that portal: