function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
JPAJPA 

Rate limits of connected apps (REST API)

Hi,

I'm developing a connected app, but I'm struggling to understand the rate limits of the API.
This connected app is the interface between my app and the salesforce instance of my customers. I mean, I'm developing an integration with Salesforce, so my users can add contacts, opportunities, and accounts to Salesforce.
I don't understand if the rate limits are per connected app, per users' license, or both. I'm trying to figure out that through this page (https://developer.salesforce.com/docs/atlas.en-us.228.0.api.meta/api/implementation_considerations.htm?SearchType=Stem).
As far as I can understand, this is dependent on the users' license.

Let's say I have 10 users and 5 of them have the Unlimited Edition license. The other 5 have the Enterprise Edition. This means the first 5 will be able to execute 5000 requests each and the remaining 5 will be able to successfully execute 1000 requests each per day. 
Am I understating it correctly?

Thanks in advance,
 
Best Answer chosen by JPA
VinayVinay (Salesforce Developers) 
Hi,

Check below links regarding API request limits.

https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm
https://help.salesforce.com/articleView?type=1&mode=1&id=000326126
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_rate_limits.htm

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar

All Answers

VinayVinay (Salesforce Developers) 
Hi,

Check below links regarding API request limits.

https://developer.salesforce.com/docs/atlas.en-us.salesforce_app_limits_cheatsheet.meta/salesforce_app_limits_cheatsheet/salesforce_app_limits_platform_api.htm
https://help.salesforce.com/articleView?type=1&mode=1&id=000326126
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/intro_rate_limits.htm

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar
This was selected as the best answer
JPAJPA
Hi,

Thank you for your help. 
I have already checked those documents, but I'm not 100% sure if I'm understanding it correctly. The documentation confirms the limits are per user, but it doesn't refer to anything related to connected apps. 
Can I have hundreds of users executing 1000 requests per day or is it limited to 100000 requests in total?

Thank you,
VinayVinay (Salesforce Developers) 
Each Salesforce org has a limit on the total number of API calls per day for that org. It is not specific to your connected app or client.  The number of allowed API calls varies depending on the Salesforce edition and the counts of each type of license.  It is limited to total calls per 24-hour period.

Hope this helps...

Thanks,
JPAJPA
Yes, it helps. Thanks a lot! :)