Integration of IndiaMART’s Lead Manager with Third Party CRMs

Purpose of IndiaMART CRM API:

This API is a service that provide details of the business leads received through IndiaMART portal in a json format suitable for pulling this data into a Software of Client’s choice. The output of this API is not in human readable format.

Any client who is registered as a paying seller on IndiaMART platform and is using any third-party CRM or has in-house developed CRM software can use this feature of API integration.

For using this API, the Client’s technical team or the CRM Vendor should go through the detailed steps of integration explained in this document.

IndiaMART recommends its sellers to use IM Lead Manager to track, manage, follow-up and communicate with their leads for better reliability, trust, and security concerns. No need to spend additional money for purchasing third-party CRM.

Note:

  • The API URL generated can be used with any third-party CRM.
  • Good technical knowledge is required for API integration process.

Steps of Integration

Please find below the details and steps for integrating this API with third party CRM to fetch IndiaMART leads.

Step 1:  Generate CRM Key

Visit Setting > Account Setting available on the left navigation of seller.indiamart.com and click on

Generate Key. A unique CRM key will be received on your registered email-id.

Note- In case you have already generated the CRM key, please check all the email folders before generating a new key. On clicking ‘Generate Key’, a new key will be generated & older one will expire (if any Key was already generated earlier, that will stop working).

Step 2: Create your API URL:

To create an API URL we need to have the CRM key as generated in Step 1 and primary mobile number of seller account registered on IndiaMART platform.

There are four input parameters (marked in bold and yellow) in the URL.

Please replace these 4 parameters below with your actual details:

  • GLUSR_MOBILE: This is the primary mobile number of your account registered with IndiaMART.
    This is a mandatory input parameter
  • GLUSR_MOBILE_KEY: This is a unique key which is received on your primary email. This is also a mandatory input parameter
  • Start_Time: This is the start date from which you want to fetch the leads
  • End_Time: This is the end date till which you want to fetch the leads.

Start_Time and End_Time can be entered in following two formats (Time is in IST):

  • Date format (DD-MON-YYYY format)  e.g. 25-JAN-2019
  • Timestamp format (DD-MM-YYYY HH:MM:SS)  e.g. 25-01-2019 16:30:00

Then as per the requirement we can use any one of the integrations URL given below to fetch data of IndiaMART leads.

Integration Url (following URLs are just for demonstration purpose)

a) To get the IndiaMART leads between two given dates:

Note: Maximum allowed difference between Start_Time and End_time is 7 days

https://mapi.indiamart.com/wservce/enquiry/listing/GLUSR_MOBILE/7042445112/GLUSR_MOBILE_KEY/MTU1Njc4ODM1Mi4wMTQzIzEwMzU5NTgw/Start_Time/01-SEP-2020/End_Time/06-SEP-2020/

This URL will give data between 1st Sep and 6th Sep 2020 IST

b) To get IndiaMART leads between two given timestamps

https://mapi.indiamart.com/wservce/enquiry/listing/GLUSR_MOBILE/7042445112/GLUSR_MOBILE_KEY/MTU1Njc4ODM1Mi4wMTQzIzEwMzU5NTgw/Start_Time/01-SEP-202009:00:00/End_Time/06-SEP-202013:00:00/

This URL will give data between 09:00 AM 1st Sep 2020 to 1:00 PM 6th Sep 2020 IST.

c) In case of no specific date range, please use the following URL

https://mapi.indiamart.com/wservce/enquiry/listing/GLUSR_MOBILE/7042445112/GLUSR_MOBILE_KEY/MTU1Njc4ODM1Mi4wMTQzIzEwMzU5NTgw/

Only latest 7 days data from Current date will be displayed in this case

Step 3: Check API functionality

Copy and paste the API URL prepared as mentioned in step 2, in any web browser (google chrome, Mozilla Firefox etc.) to check if API URL is working correctly or not .

If the data is displayed in Json format (Refer sample API response output below), this means the API is working fine. Now connect with your third-party CRM Service provider to integrate it into their CRM basis your requirement.

Sample API Response:

Input:   Enter the API URL mentioned below in browser (Google Chrome / Mozilla Firefox any).

https://mapi.indiamart.com/wservce/enquiry/listing/GLUSR_MOBILE/7042445112/GLUSR_MOBILE_KEY/MTU1Njc4ODM1Mi4wMTQzIzEwMzU5NTgw/Start_Time/12-JUL-2020/End_Time/18-JUL-2020/

Output:


* If on hitting API in browser, this data is fetched as shown above (in JSON format) then it means that API is working fine.

Points to remember while using this API URL:

  1. Maximum allowed difference between Start_Time and End_Time is 7 days
    In case you hit the URL with more than 7 days difference, API will return last 7 days data from End_Time calculating backwards
  2. Please note that minimum time difference between two consecutive hits should be 5 minutes. Do not hit the URL again before 5 minutes
  3. Please note that you will not receive Tender data through CRM integration
  4. CRM key will get expired in case there is no user activity through the generated CRM key in last 30 days. In such cases, you must generate the CRM key again
  5. The Output of the API will be in json format. Your selected 3rd party CRM should be able to use the json data into that CRM.
  6. If you are integrating this API URL with CRM, then QUERY_ID can be used as a unique identifier to remove duplicate data in case of overlapping date ranges
  7. This is not a push data based API instead it is a pull mechanism based API i.e. user has to hit the API for fetching data.

Security Warning:

Please be careful that the CRM-Key (GLUSR_MOBILE_KEY/ MTU1Njc4ODM1Mi4wMTQzIzEwMzU5NTgw) is a Secret Key to get your Lead data from IndiaMART, if it is leaked or shared with anyone else, they would be able to get all your leads.

Output Parameter details:

Output parameters received after hitting the integration URL are mention below:

Troubleshooting

In case you are getting an error as shown below:

1)[{“Error Message”: “It is advised to hit this API once in every 5 minutes, but it seems that you have crossed this limit. Please try again after 5 minutes.”}]

Possible Causes

  • Check if the integration URL is being called multiple time within 5 mins. Please note that this URL will provide data only once in every 5 minutes. So, try again after 5 mins.

2)[{“Error Message”: “CRM key that you are using is incorrect. Kindly use the correct CRM key as provided in email or sms.”
 }]

Possible Causes

  • Please cross-check the CRM key. This should exactly be the same as mentioned in step 2

3)[{
   “Error Message”: “CRM key that you are using is expired as it was no longer in use. Kindly generate the new CRM key and use the new CRM key in API URL.”
 }]

Possible Causes

  • CRM key will get expired in case there is no user activity through the generated CRM key in last 30 days. In such cases, you must generate the CRM key again.

4)[{
   “Error Message”: “There are no leads in the given time duration. Please try for a different duration.”
 }]

Possible Causes

  • Please check with the different date range as there are no leads available for the time range mentioned in URL.

5){
   “Error Message”: “CRM key that you are using has expired. Kindly use the new key which you have generated on ’16-09-2020 02:00:00 PM’ Check your email or SMS for the new key.”
 }

Possible Causes

  • Please cross-check the CRM key as CRM key you are using has expired. CRM key expires when a new key is generated from seller portal.

6)[] a Blank json output

Possible Causes

  • There are no leads in the given time duration
  • Check if the integration URL is being called multiple time within 5 mins. Please note that this URL will provide data only once in every 5 minutes
  • Please cross-check the CRM key. This should exactly be the same as mentioned in step 2



Was this article helpful?


Leave a Reply to Jignesh Click here to cancel reply.

8 Comments

  1. Abhinav

    This is not very usefull as it is pull API. can you proive push API or better to say a webhook which we can provide and you update it.

    It will help in better integration of our systems with indiamart

  2. Priyanka

    Hello,

    In my seller account, Lead Management with CRM section is missing in Setting > Account Setting. Please help me to enable it so I can Generate Key and integrate IndiaMART with my CRM.

    Thank you

    1. indiamart

      Dear Priyanka,

      Thank you for reaching us. We would like to inform you that the CRM integration facility can be availed by only paid sellers. Let us know if you have any other query.

      Regards!

  3. Mayank

    I have purchased the india 2year pack with trust seal but i am not getting this option in my setting.

    Can you please guide how to activate it ?

    1. indiamart

      Dear Mayank,

      Your 2 year Trust Seal pack is live. Please let us know if you are facing any issue.

      Thank you!

    1. indiamart

      Dear Jignesh,

      There are several CRM software available in the market, which integrates IndiaMART’s CRM API. We do not recommend any particular solution as a preference.
      Rather, we suggest to use the Lead Manager of IndiaMART, without incurring any extra cost.

      Thank you!

      1. Raj

        If I want to mass update to my Past Leads as i have added some new products. It is of no use as in existing CRM only latest buy leads are available