+ Start a Discussion

Ajax script in custom button will count the API limit ?

Hi Guys,

We have a custom button on Opportunity page and included below scripts and executing a class method.


 when i see in the debug log it is showing as API request. so will it count under "API REQUESTS, LAST 24 HOURS"

please suggest on this.

ShashankShashank (Salesforce Developers) 
The answer is no. Ajax requests are not counted against "API REQUESTS, LAST 24 HOURS".