Welcome to LeadSquared API!
All of LeadSquared’s APIs are organized around REST. If you’ve used RESTful APIs before, many of the concepts here will be familiar to you. Each resource has a unique URL, and HTTP verbs are used to specify actions you want to perform on each resource. All request and response bodies, including errors, are encoded in JSON.
Here’s what you can do with our APIs –
- Create, update, delete and retrieve detailed information on LeadSquared resources (Leads, Activities, Tasks, etc.).
- Perform queries or searches.
- Manage email marketing.
- Integrate telephony applications.
- And lots more…
We release new versions when we make backwards-incompatible changes to our APIs. The current version of our APIs is v2, so the base URL will always look something like this –
https://<your API host>/v2/
We support 2 standard HTTP methods – GET and POST.
GET: Used to read/retrieve a resource.
POST: Used to create or update a resource.
In certain cases, we use the GET and POST methods a little differently. For example, we use POST for advanced searches, quick searches etc. The method you need to use is clearly laid out in the API URL section for each API call –
Rate limits on API requests depend on our products and plans –
|10 calls/5 seconds||15 calls/5 seconds||25 calls/5 seconds|
|2 calls/5 seconds||5 calls/5 seconds||10 calls/5 seconds|
Read up on our API host documentation.