Activity Forums Salesforce® Discussions How can I reduce my usage of API calls?

  • Prachi

    Member
    September 3, 2018 at 1:42 pm

    Hi Chanchal,

    There are different approaches to reduce the amount of API calls consumed by a given API client, which include (but are not limited to) the following:

    • caching on the client side,
    • sending cumulative changes, rather than incremental changes( for example using Composite Resources in REST API)
    • resort to the Bulk API to mass upload/update records, instead of using the REST API to upload/update the same records.
      Thanks.
  • Anjali

    Member
    September 3, 2018 at 1:45 pm

    Hi Chanchal,

    For reducing the number of API calls you can do following things:

    • Optimize your code to eliminate any unnecessary API calls
    • Cache frequently used data
    • Cache data that is not changed often
    • Use webhooks in order to track changes
    • Consider batching multiple requests into a single request

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos