LeadSquared Developer Centre

ON THIS PAGE

LeadSquared Sales CRM V2 APIs


This guide provides a step-by-step overview of making your first requests to the LeadSquared V2 API with Postman, a popular API testing tool.

Note: If you haven’t installed Postman, download it from Postman Downloads.

Step 1: Add LeadSquared V2 API Collections to Postman

  1. To begin, add the LeadSquared API collection to your Postman by clicking the Run in Postman button from the table below.
  2. Click Fork Collection to create a copy in your workspace.
Note: When forking the collection, ensure watch original collection is enabled under notifications. When an update is available on the collection, you will receive a notification or an email from Postman.
Collection Download Collection
LeadSquared Sales CRM V2 APIs
Run in Postman

forking the collection on postman

Step 2: Set Up Your Environment in Postman

  1. Open Postman and go to the Environments tab to create a new environment for LeadSquared requests.
  2. Set up three essential variables in this environment:
    • AccessKey
    • SecretKey
    • Host

    These variables will be referenced across the requests in the LeadSquared API collection.

  3. To find the values for these variables, refer to your LeadSquared account or documentation for the AccessKey, SecretKey, and Host values.
  4. Enter these values in the Current Value field for each variable in Postman. For security, mark the SecretKey and AccessKey variables as Type Secret.

configure an environment for LeadSquared on Postman

Select the environment you’ve created before you make a request.

select the leadsquared environment

Note: You can modify specific requests to directly input a value instead of using the predefined variable reference if needed.
edit the variable values

Step 3: View Documentation

Once you’ve created an environment, you can run the V2 APIs through Postman. Each API listed here has extensive documentation for your reference, you can right-click on any API and select View Documentation.

view documentation on postman

Step 4: Staying Up to Date with API Updates

LeadSquared frequently updates its APIs. When an update is available, you will receive a notification or an email from Postman.

To keep your collections current:

  • Pull Changes: In Postman, right-click on the collection and select the option to Pull Changes.

This will help you stay up to date with any improvements or modifications to our API.

pull changes on postman

On this page

© 2024 by MarketXpander Services Pvt Ltd. All Rights Reserved.