Daily usage request API

Hello There.

I’m getting this error when trying to get daily API usage info: {‘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’: ‘xx’, ‘links’: {‘support’: ‘https://help.hubspot.com/’, ‘forum’: ‘https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations’}, ‘category’: ‘MISSING_SCOPES’}

using this url: GET/account-info/v3/api-usage/daily I check the scopes list and honestly I have no any idea of which is the scope needed for this. Does anyone have any information about this? (Important to note that I’m using oauth access token, not apikey)

Hey, @ACarGa :waving_hand: Thanks for reaching out! To clarify, are you using this endpoint? Check daily API usage

GET /integrations/v1/limit/daily

If so, please note the following:

Notes: This endpoint tracks daily API usage for integrations using a HubSpot API key (hapikey), and therefore requires an API key for authentication. To track the usage for an OAuth app, you can use the request monitoring in the app settings.

To track usage using OAuth, you’ll need to use the resources here — Using app request monitoring

Best,

Jaycee

Yes, that’s the one I’m using. Thanks so much, @Jaycee_Lewis for your reply :grinning_face: