APIs & Integrations

kolaps
Participant

How to - Get the daily API usage and limits???

https://developers.hubspot.com/docs/api/settings/account-activity-api

Get the daily API usage and limits for a HubSpot account.

Only to get daily API usage is via API key. But API key is no longer supported, how to get your daily API usage with Private app or best way to get usage?

 

Hubspot has no notification for reaching limit and also you can't limit max requests per private app.

3 Replies 3
IBilic
Member

How to - Get the daily API usage and limits???

sta ce ti

0 Upvotes
JoseGarcia99
Participant

How to - Get the daily API usage and limits???

It's not documented. Probably it does not work anymore after hapikey change.

 

hs_api_limit.jpg

 

This GET request have no required scopes. The test call button at help page, only allow you request with API key, you get 403 if you try. Also, if you use it at your Private App you get a 403 again:

{"status":"error","message":"The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.","correlationId":"XXX","links":{"support":"https://help.hubspot.com/","forum":"https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"},"category":"MISSING_SCOPES"}

 

I could not found any scope about account info: API Limit. There is only one about security events:

hs_api_limit2.jpg

 

 

 

 

 

kolaps
Participant

How to - Get the daily API usage and limits???

Thanks for answer..

Yes it's not documented, and nobody knows how to get daily usage report via API, unbelievable..

@Jaycee_Lewis     maybe some info?

0 Upvotes