All Collections
Using Salestrail Features
LeadSquared Integration
LeadSquared Integration: Normal API and Async API
LeadSquared Integration: Normal API and Async API

Normal API and Async API for LeadSquared integration.

Yvonne Pulkkinen avatar
Written by Yvonne Pulkkinen
Updated over a week ago

When you use Salestrail's LeadSquared integration, there are 2 options and you will see them when you log in: normal API and Async API.

1. Normal API

Normal API means that you will log in using the API access keys and your CRM call data are sent to LSQ using that type of API. Its downside is having a pretty tight limit of 25 API calls/5 seconds, each call logged to LSQ requires 2 API calls. Consequently, some CRM calls might not be successfully logged to LSQ if there are many calls made in a short period of time.

2. Async API

That's why we give you the Async API option with no limit on the API calls. The way it works is as below:

  • The user makes a call

  • Salestrail sends the call data to LeadSquared

  • LeadSquared adds it to their queue for the API requests to be processed

  • Salestrail asks LSQ every 15 seconds about the status of the call

  • LeadSquared answers SUCCESS/FAILED/QUEUED

  • We log the call as the reply is

When you go to the Call Analytics dashboard > Integrations > Integration Log, in the Select Status drop-down, there is the Queued value that will show all the calls that have been sent to LSQ but in queuing to be sorted by LSQ.

Note: Although Salestrail asks LSQ every 15 seconds, it's ultimately LSQ's decision when a call is processed.

Did this answer your question?