Contact List API not returning any lists


#1

I am new to HubSpot and am trying to use the Contact List API to ‘Get Lists’ using:

https://api.hubapi.com/contacts/v1/lists?count=10&hapikey=&offset=0

But all I get returned is: {“lists”:[],“offset”:20,“has-more”:false}, I know have many lists so what am I doing wrong?

Any help would be appreciated.
Thank you


#2

Correction to the link above:


#3

@BrianF Can you send me your Hub ID so I can take a look at this? I’m not seeing any problems pulling lists from a few test portals so I’d need to take a look at your data.


#4

Thanks for helping,

It appears my original key was no longer valid (not sure why) so I generated a new one and I now get data returned.


#5

Hi, I have the same problem. I am refreshed HAPI, but it didn’t helped.


#6

@Aeliot-Tm are you getting an error response or an empty list when you try to get your contact lists?

If you’re getting an error, can you post the error you’re seeing?

If you’re getting a response but it’s an empty list, can you send me your Hub ID so I can take a look at this?


#7

I’m sorry, it is my mistake.
You have very complicated way to get API key.
So, i has created additional “dev” account accidentally, then searching for the way to get the HAPIkey.
And now i do not know haw i can delete it.