API integration

Hi there, am not able to read or access any object like contact or contactList

though i given all permission. am using hubspot api token to make api calls.

am trying to get the contact lists from my account

The url format: https://api.hubapi.com/contacts/v1/lists?count=1&hapikey=xxxxxxxx

The error which am facing is:

{

“status”: “error”,

“message”: “This hapikey (xxxxxxxxxxxx) does not have proper permissions! (requires any of [contacts-lists-access, contacts-lists-read])”,

“correlationId”: “64ebb25f-4cb4-464c-85c3-870ac58c081f”,

“requestId”: “2321b7575618fa3abeaa430629489247”

}

Can anubody help me out with this?

thanks in advance.

Hi @LathaVoggu , that error almost always means that the account the API key belongs to doesn’t have access to the tools required. The lists tool is a feature of Marketing Starter and up. Check out this post that goes over the same thing: https://integrate.hubspot.com/t/this-hapikey-xxxx-does-not-have-proper-permissions-requires-all-of-hubdb-read/15052