+ Start a Discussion
XXXXXX 

How to count API calls?

My understanding is that any call to the Salesforce API counts as an API call.

 

Say I have a Apex webservice that is called by an external application. This webservice makes a variety of Apex calls but does not itself make any API calls.

 

Do calls to my Apex webservice count against my API calls?

 

If so, how many? Is it a single API call because there is a single "call" to the webservice? Or does it count each individual Apex "statement" that is equivalent to an API call?

 

If not, does that mean I can wrap up my API calls into a webservice and bypass the API call counter?

 

As always,

 

TIA,

 

John

SuperfellSuperfell
each HTTP round trip to an API url counts as one API call.