Developer Announcements

zwolfson
HubSpot Employee
HubSpot Employee

Rate limit headers will now appear for OAuth authenticated calls

What’s happening

API calls authenticated using OAuth 2.0 will now return X-HubSpot-RateLimit-* headers. Previously this was restricted to API calls authenticated with an API key. OAuth authenticated calls will not include X-HubSpot-RateLimit-Daily or X-HubSpot-RateLimit-Daily-Remaining because there is no daily limit for these calls.  This does not impact the enforcement of any rate limiting. 

 

Adding these headers will make it easier for you to understand and manage the pace of API calls you are making to HubSpot. For more information on working with rate limiting in general, take a look at our documentation.

 

This change is now live for all apps and accounts.

 

If you have any questions or concerns, join the conversation in the community. 

2 Replies 2
ISingh2
Participant

Rate limit headers will now appear for OAuth authenticated calls

What about Private app? Private app don't have oauth. I tried to read all headers in private app and it don't include any rate limit headers. 

SBullard
Participant

Rate limit headers will now appear for OAuth authenticated calls

Same here. Though it appears to be only a problem for the "search" endpoints where only the "X-HubSpot-Correlation-Id" is provided. The "Basic" endpoints all seem to provide the rate limit headers.

0 Upvotes