What is the api limit in salesforce per user per 24 hours?

482    Asked by dipesh_9001 in Salesforce , Asked on May 11, 2023

According to Salesforce Documentation, Salesforce Unlimited editions have a limit of 5,000 API calls Per Licence Type, per 24 hours and the total API calls per 24 hours are:

100,000 + (number of licences x calls per licence type) + purchased API Call Add-Ons

It's a bit confusing, does this means that a single user can't make API calls more than 5000 in a 24 hours period But, I tested it and we were able to make more than 10k Api calls in 24 hours.Now the question is there a limit to the number of api calls that a user can make in 24 hours.If yes, What is it?If not, can a single user utilise all the 24 hours limit of the organisation?

Answered by Ella Clarkson

The API Request Limits documentation goes into a bit more detail into api limit in salesforce


Limits and allocations are enforced against the aggregate of all API calls made to the org in a 24-hour period. Limits and allocations are not on a per-user basis.

Example API Usage Metering Calculations The following examples illustrate API usage metering calculations for several scenarios. For an Enterprise Edition org with 15 Salesforce licences, the request limit is 115,000 requests (100,000 plus 15 licences x 1,000 calls). For a Developer Edition org that made 14,500 calls at 5:00 AM Wednesday, 499 calls at 11:00 PM Wednesday, only one more call can successfully be made until 5:00 AM Thursday.

    In a nutshell, you get 100k requests + (per-licence allocation * # of licences). That makes up a resource pool. Each api request made by a user counts against the pool for 24 hours. Salesforce uses a rolling window, so a request made yesterday (over 24 hours ago) no longer counts towards your limit.

Salesforce also uses their threshold-based approach to limits for api requests (like they do with cpu time, and several other limits). If your pod is "healthy", and you haven't gone over your limit too often, Salesforce can allow you to go over that limit by a bit.



Your Answer

Interviews

Parent Categories