API key difference between hapikey and access token


#1

Hi,

I am referring to this link: https://developers.hubspot.com/docs/methods/oauth2/using-access-tokens

Just want to know what is the difference between hapikey and access_token? in terms of permission and usage limits?


Does hapikey is same as Token oauth?
#2

Hi @Eddie_Z,

One difference between using a hapikey or an access_token is that you can’t take advantage of the API call logging feature in your developer portal when using a hapikey. Also, certain APIs (i.e. timeline, webhooks, CRM extensions) require an access_token and cannot be accessed by using a hapikey. Otherwise, there is no difference between using a hapikey vs. an access_token.


#3

How about limits? are they count separately?


#4

Hi @Eddie_Z,

They are counted separately, but the limits are applied to portals, not request types. Any portal is limited to 40k requests and 10 requests/second, regardless of the authentication method.