Web Lead API V2

API

This is the post API for adding leads in to the CRM.

URL: https://api.intueri.io/webleadv2.php

Method: Post

Authorisation: Bearer (Check how to generate API Key for authorisation)

Required Parameters:

leadPhone - Phone number of the lead
leadEmail - Email ID of the lead

curl --location --request POST 'https://api.intueri.io/webleadv2.php' \
 --header 'Authorization: Bearer 7dXx32cdxxxac8dxxxd5a1xxxx4dfxx5' \
 --header 'Content-Type: application/json' \
 --data-raw '{
     "leadName":"Lead Full Name",
     "leadCompany": "Company 2022111321",
     "leadPhone":"2022111321",
     "leadEmail": "[email protected]",
     "staffId": "[email protected]",
     "leadQuery": "Something new has happenend it should be updated here.. #1",
     "leadDated": "2022-11-13 18:25:01",
     "leadUID": "Some unique id for the visit",
     "lead_city": "Delhi",
     "lead_state": "New Delhi",
     "lead_country": "India",
     "lead_country_iso": "IN",
     "lead_zipcode":"226021",
     "lead_address": "India gate, new delhi",
     "lead_lat": "14.32551",
     "lead_lng": "1.9524803",
     "lead_source":328,
     "lead_category": 0,
     "leadConversionPage":"",
     "leadIP":""
 }'

Lead Source ID: Get it from the Setting -> CRM Data -> Customisation -> Lead Source

Lead Category ID: Get it from the Setting -> CRM Data -> Customisation -> Lead Category

Response:

{"error":false,"error_msg":"Lead has been assigned as 402","contact_id":402}
Contact Support
Need help with something, which isn't mentioned here? Click here to create a support ticket.