Lead411 APIs

API to access lead411

POST Create Free Trial Signup
https://api.lead411.com/v1/create_free_trial?first_name=testlive&last_name=api&company=test+name+from+api&phone=2222222222&password=123456&newsletter=yes&customer_type=general&[email protected]

Send all required params mentioned below to create a free trial account.

PARAMS

first_name
testlive
last_name
api
company
test+name+from+api
phone
2222222222
password
123456
newsletter
yes
customer_type
general
BODY



Example Request
Create Free Trial Signup
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/create_free_trial?first_name=testlive&last_name=api&company=test+name+from+api&phone=2222222222&password=123456&newsletter=yes&customer_type=general&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
Example Response
200 - OK
{
  "status": "success",
  "hash_key": "$2y$10$psRFiOHpaQyvYzmdOB/mEOClh31rbQZIxQTWUBc/KHuzN2zkoytEK",
  "msg": "Free trial account has been created. Please check your inbox."
}
POST Login and Get token
https://api.lead411.com/v1/[email protected]&password=123456

By Calling this API, we will validate username and password and if it passes the db authentication then API will return the access token which needs to be passed to all further subsequent API calls.

When the token expires then call 'Login and Get token' API to get a new token

PARAMS

password
123456
BODY



Example Request
Login and Get token
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/[email protected]&password=123456",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Create customer's Sub-Account
https://api.lead411.com/v1/create_customer_sub_account?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MzIxNiwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTQzOTY1OTcsImV4cCI6MTUxNDY1NTc5NywibmJmIjoxNTE0Mzk2NTk3LCJqdGkiOiJRdXZDMm43VnVtMjViUjVRIn0.-JDRthOE0Nr52VaOHX_Fy3gRJj9t0pqH123DLGt8v6s&first_name=testlive&last_name=api&company=test+name+from+api&phone=2222222222&password=123456&newsletter=yes&customer_type=general&[email protected]

Send auth token along with all required params mentioned below to create a customer's sub account

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MzIxNiwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTQzOTY1OTcsImV4cCI6MTUxNDY1NTc5NywibmJmIjoxNTE0Mzk2NTk3LCJqdGkiOiJRdXZDMm43VnVtMjViUjVRIn0.-JDRthOE0Nr52VaOHX_Fy3gRJj9t0pqH123DLGt8v6s
first_name
testlive
last_name
api
company
test+name+from+api
phone
2222222222
password
123456
newsletter
yes
customer_type
general
BODY



Example Request
Create Free Trial Signup
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/create_free_trial?first_name=testlive&last_name=api&company=test+name+from+api&phone=2222222222&password=123456&newsletter=yes&customer_type=general&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
Example Response
200 - OK
{
  "status": "success",
  "hash_key": "$2y$10$psRFiOHpaQyvYzmdOB/mEOClh31rbQZIxQTWUBc/KHuzN2zkoytEK",
  "msg": "Free trial account has been created. Please check your inbox."
}
POST Get Logged in user details
https://api.lead411.com/v1/getCustomerDetails?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

Send access token to get all the details related to authenticated user.

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
BODY



Example Request
Get Logged in user details
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/getCustomerDetails?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Insert Suppression Emails
https://api.lead411.com/v1/suppression/insertSuppressionEmail?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok&email_json=["[email protected]"]&employee_id_json=["376"]&[email protected]

Add employee_id(s) or email(s) in suppression list in customer or sub-account: We can send any or both of the below mentioned parameter in request:

1) "employee_id_json" holds the collection of existing employee_id which needs to be added in suppression list. Example: ["12345" , "67890"]

2) "email_json" holds the collection of email which needs to be added in suppression list. Example: ["[email protected]" , "[email protected]"]

API accepts 50,000 employee_ids/emails in json per request which mean if there are more than 50,000 records then api will consider only first 50,000 employee_ids/emails and insert in suppression list per api call and rest will be discarded in that request.

if you want to send more than 50,000 employee_ids/emails then send more employee_id/email in next batch/api call because, as of now, there is no limitation in holding employee_ids/emails in suppression database per customer.

1) if "sub_account_email" params available in request then employee_ids/emails present in "employee_id_json"/email_json" param will be added to sub-account suppression list.
2) if "sub_account_email" is not available in request then employee_ids/emails will be added to master's account suppression list

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok
email_json
employee_id_json
["376"]
sub_account_email

optional parameter which hold the email of sub account

BODY



Example Request
Insert Suppression Emails
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/suppression/insertSuppressionEmail?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok&email_json=%5B%[email protected]%22%5D&employee_id_json=%5B%22376%22%5D&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Suppression List
https://api.lead411.com/v1/suppression/getSuppressionEmails?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok&email_json=["[email protected]"]&employee_id_json=["376"]&[email protected]

Get Suppression list of customer or sub-account:

1) if "sub_account_email" params available in request then sub-account suppression list will be returned returned in response.
2) if "sub_account_email" is not available in request then master's account suppression list will be returned in response.

Filter : We can send any or both of the below mentioned parameter in request to filter the suppression result :

1) "employee_id_json" holds the collection of employee_ids which needs to be return in suppression list response. Example: ["12345" , "67890"]

2) "email_json" holds the collection of email which needs to return in suppression list result. Example: ["[email protected]" , "[email protected]"]

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok
email_json

optional filter

employee_id_json
["376"]

optional filter

sub_account_email

optional parameter which hold the email of sub account

BODY



Example Request
Get Suppression List
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/suppression/getSuppressionEmails?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTY3NzAzODcsImV4cCI6MTUxNzAyOTU4NywibmJmIjoxNTE2NzcwMzg3LCJqdGkiOiJKR2xGcWc0Z1hMVzNnUnFsIn0.5qVkYundXwp8X_cBdbwBh-_Z1S2pcShv11iLXJXt5ok&email_json=%5B%[email protected]%22%5D&employee_id_json=%5B%22376%22%5D&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Delete Suppression Email
https://api.lead411.com/v1/suppression/deleteSuppressionEmail?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTYxNjczNjIsImV4cCI6MTUxNjQyNjU2MiwibmJmIjoxNTE2MTY3MzYyLCJqdGkiOiJmNzZrRmdIeUVrdUlFMkpwIn0.abDiL6i_m4qUVToopSZdDmIDXZLhkl6NrSwbMpQJcu4&email_json=["[email protected]"]&employee_id_json=["376"]&[email protected]

Delete records from suppression list in customer or sub-account:

We can send any or both of the below mentioned parameter in request:

1) "employee_id_json" holds the collection of existing employee_id which needs to be added in suppression list. Example: ["12345" , "67890"]

2) "email_json" holds the collection of email which needs to be added in suppression list. Example: ["[email protected]" , "[email protected]"]

1) if "sub_account_email" params available in request then emails present in "email_json" param will be deleted to sub-account suppression list.
2) if "sub_account_email" is not available in request then emails will be deleted to master's account suppression list

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTYxNjczNjIsImV4cCI6MTUxNjQyNjU2MiwibmJmIjoxNTE2MTY3MzYyLCJqdGkiOiJmNzZrRmdIeUVrdUlFMkpwIn0.abDiL6i_m4qUVToopSZdDmIDXZLhkl6NrSwbMpQJcu4
email_json

optional

employee_id_json
["376"]

optional

sub_account_email

[{"key":"sub_account_email","value":"[email protected]","equals":true,"description":"optional parameter which hold the email of sub account","enabled":true}]

BODY



Example Request
Delete Suppression Email
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/suppression/deleteSuppressionEmail?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTYxNjczNjIsImV4cCI6MTUxNjQyNjU2MiwibmJmIjoxNTE2MTY3MzYyLCJqdGkiOiJmNzZrRmdIeUVrdUlFMkpwIn0.abDiL6i_m4qUVToopSZdDmIDXZLhkl6NrSwbMpQJcu4&email_json=%5B%[email protected]%22%5D&employee_id_json=%5B%22376%22%5D&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Customer Unlock Quota Details
https://api.lead411.com/v1/get_customer_quota?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

Send access token to get unlock Quota details left.

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
BODY



Example Request
Get Customer Unlock Quota Details
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/get_customer_quota?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Lead Search API
https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k&company_ids=1743&user_search_string=cisco.com&&title_keyword=ceo,cfo,marketing&country_code=US&State_array=&cityPostal=&range=5&Area_Codes=&Industry_Codes=&SIC_Codes=&company_description_string&news_date_from=2017-11-13&news_date_to=2017-11-13&news_category_source=&currently_hiring_title=&hiring_date=&SoftwareHardware_array=&technology_uses_text=&FilterEmployee=all,1,2,3,4,5,6,7,8,9,10,11,12&FilterRevenue=all,1,2,3,4,5,6,7,8,9,10,11,12&email_filter=peopleResultsEmails&suppression_filter=suppressed_no&exportedResults=exported_yes&companyResults=companyResultsAll&linkedinResult=linkedin_no&has_direct_dialResults=has_direct_dial_no&since_date=&start_date=&default_sort_by=yearlyRevDesc&page=1&[email protected]

Send UX Element data to search the Lead11 database for company or employee records

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k
company_ids
1743

Company Unique Identifier

user_search_string
cisco.com,openai.com

This parameter is built to search for companies by url

title_keyword
ceo,cfo,marketing

Titles of the contacts you are seeking

country_code
US

Two Character Country Codes. See list here.

State_array
CA,ON

State Abbreviation Codes for US/Canada. See list here.

cityPostal
98052,02142,95134

City Postal Codes.

range
5

Mile Range around that Zip Code.

Area_Codes
303,212,415

Area Codes of the company headquarters

Industry_Codes
1004,1006

Lead411 Industry Codes. See list here.

SIC_Codes
7372

4 digit SIC codes.

company_description_string
computer software, generative ai

Searching keywords or phrases inside the description of the company

news_category_source
1,2,3

Unique ID for a news/press event. e.g. Funding, New Hire, etc. See the full list here.

news_date_from
2023-11-13

Start date of the presss/news event.

news_date_to
2017-11-13

End date of the presss/news event.

currently_hiring_title
sales,marketing,manager

Keyword of Title of Job Opening

hiring_date
2024-04-12

Job Posting Date will be after this date

SoftwareHardware_array
Hubspot, Salesforce

Keyword search for tech stack data of the company

FilterEmployee
all,1,2,3,4,5,6,7,8,9,10,11,12

Unique ID of Employee Size Ranges. See list here.

FilterRevenue
all,1,2,3,4,5,6,7,8,9,10,11,12

Unique ID of Revenue Ranges. See list here.

FilterLevel
c_level,vp_level,director_level,manager_level

optional, if available in request then will be used otherwise all level will be returned. where: c_level="Executive Level" , vp_level="VP Level", director_level="Director Level",manager_level="Manager Level"

email_filter
peopleResultsEmails

When selected it shows only contacts that has an email

suppression_filter
suppressed_yes

Suppressed_yes hides contacts/companies from your Suppression list - Use the Insert Suppression Emails call to insert them

exportedResults
exported_yes

exported_yes removes contacts that you have already exported

linkedinResult
linkedin_yes

linkedin_yes limits results to only contacts that we have linkedin_url with

has_direct_dialResults
has_direct_dial_yes

has_direct_dial_yes limits contacts to just those that have direct phone numbers

default_sort_by

yearlyRevDesc sorts by

page
1
yearlyRevDesc

Used for pagination for multiple rows

sub_account_email

optional, if available in request then sub_account suppression will be used

BODY



Example Request
Lead Search API
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k&company_ids=1743&user_search_string=cisco.com&&title_keyword=ceo,cfo,marketing&country_code=US&State_array=&cityPostal=&range=5&Area_Codes=&Industry_Codes=&SIC_Codes=&company_description_string&news_date_from=2017-11-13&news_date_to=2017-11-13&news_category_source=&currently_hiring_title=&hiring_date=&SoftwareHardware_array=&technology_uses_text=&FilterEmployee=all,1,2,3,4,5,6,7,8,9,10,11,12&FilterRevenue=all,1,2,3,4,5,6,7,8,9,10,11,12&email_filter=peopleResultsEmails&suppression_filter=suppressed_no&exportedResults=exported_yes&companyResults=companyResultsAll&linkedinResult=linkedin_no&has_direct_dialResults=has_direct_dial_no&since_date=&start_date=&default_sort_by=yearlyRevDesc&page=1&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search API using parameter
https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTE3ODk2MDQsImV4cCI6MTUxMjA0ODgwNCwibmJmIjoxNTExNzg5NjA0LCJqdGkiOiJuN01KbFNkOExibkVNSE1kIn0.NI-nzlzhZ4vgM-pLC23nq_Va_XJS4hYvqWBJ2S7vYLo&company_ids=1743&user_search_string=cisco.com&title_keyword=ceo,cfo,marketing&country_code=US&State_array=IL,IN&cityPostal=95001,95134&range=5&Area_Codes=201&Industry_Codes=159&SIC_Codes=301,4011&company_description_string=&news_date_from=2017-11-13&news_date_to=2017-11-13&news_category_source=-1&currently_hiring_title=ceo,cfo,marketing&hiring_date=2017-10-13&SoftwareHardware_array=62_ot&technology_uses_text=technology_uses_yes&FilterEmployee=all,1,2,3,4,5,6,7,8,9,10,11,12&FilterRevenue=all,1,2,3,4,5,6,7,8,9,10,11,12&email_filter=peopleResultsEmails&suppression_filter=suppressed_no&exportedResults=exported_yes&companyResults=companyResultsAll&linkedinResult=linkedin_no&has_direct_dialResults=has_direct_dial_no&since_date=2017-08-08&start_date=2017-11-23&default_sort_by=yearlyRevDesc&page=1&limit=25&[email protected]

Send UX Element data to search the Lead11 database for company or employee records

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTE3ODk2MDQsImV4cCI6MTUxMjA0ODgwNCwibmJmIjoxNTExNzg5NjA0LCJqdGkiOiJuN01KbFNkOExibkVNSE1kIn0.NI-nzlzhZ4vgM-pLC23nq_Va_XJS4hYvqWBJ2S7vYLo
company_ids
1743

Company Unique Identifier

user_search_string
cisco.com,openai.com

This parameter is built to search for companies by url

title_keyword
ceo,cfo,marketing,cfo,marketing

Titles of the contacts you are seeking

country_code
US

Two Character Country Codes. See list here.

State_array
IL,IN

State Abbreviation Codes. See list here.

cityPostal
95001,95134

City Postal/Zip Codes.

range
5

Mile Range around that Zip Code.

Area_Codes
212,415

Area Codes of the company headquarters

Industry_Codes
1004,1006

Lead411 Industry Codes. See list here.

SIC_Codes
7372,4011

4 digit SIC codes

company_description_string
computer software, generative ai

Searching keywords or phrases inside the description of the company

news_category_source
1,2,3

Unique ID for a news/press event. e.g. Funding, New Hire, etc. See the full list here.

news_date_from
2023-11-13

Start date of the presss/news event.

news_date_to
2024-11-13

End date of the presss/news event.

currently_hiring_title
sales,marketing,manager

Keyword of Title of Job Opening

hiring_date
2024-04-12

Job Posting Date will be after this date

SoftwareHardware_array
Hubspot, Salesforce

Keyword search for tech stack data of the company

FilterEmployee
all,1,2,3,4,5,6,7,8,9,10,11,12

Unique ID of Employee Sizes. See list here.

FilterRevenue
all,1,2,3,4,5,6,7,8,9,10,11,12

Unique ID of Revenue Ranges. See list here.

email_filter
peopleResultsEmails

When selected it shows only contacts that has an email

suppression_filter
suppressed_yes

Suppressed_yes hides contacts/companies from your Suppression list - Use the Insert Suppression Emails call to insert them

exportedResults
exported_yes

exported_yes removes contacts that you have already exported

linkedinResult
linkedin_yes

linkedin_yes limits results to only contacts that we have linkedin_url with

has_direct_dialResults
has_direct_dial_yes

has_direct_dial_yes limits contacts to just those that have direct phone numbers

default_sort_by
yearlyRevDesc

yearlyRevDesc sorts by

per_company_match
per_company_match

per_company_match returns the max number of records per company ( example 1,2,3,all)

page(or start)
1

Used for pagination for multiple rows

per_page (or limit)
25

Used for getting number of records per page (per_page max value 100 allowed per page) (you can use 'limit' instead of per_page as a param as well)

sub_account_email

optional, if available in request then sub_account suppression will be used

BODY



Example Request
Search API using parameter
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTE3ODk2MDQsImV4cCI6MTUxMjA0ODgwNCwibmJmIjoxNTExNzg5NjA0LCJqdGkiOiJuN01KbFNkOExibkVNSE1kIn0.NI-nzlzhZ4vgM-pLC23nq_Va_XJS4hYvqWBJ2S7vYLo&company_ids=1743&user_search_string=cisco.com&title_keyword=ceo,cfo,marketing,cfo,marketing&country_code=US&State_array=IL,IN&cityPostal=95001,95134&range=5&Area_Codes=201&Industry_Codes=159&SIC_Codes=301,4011&company_description_string=&news_date_from=2017-11-13&news_date_to=2017-11-13&news_category_source=-1&currently_hiring_title=ceo,cfo,marketing,cfo,marketing&hiring_date=2017-10-13&SoftwareHardware_array=62_ot&technology_uses_text=technology_uses_yes&FilterEmployee=all,1,2,3,4,5,6,7,8,9,10,11,12&FilterRevenue=all,1,2,3,4,5,6,7,8,9,10,11,12&email_filter=peopleResultsEmails&suppression_filter=suppressed_no&exportedResults=exported_yes&companyResults=companyResultsAll&linkedinResult=linkedin_no&has_direct_dialResults=has_direct_dial_no&since_date=2017-08-08&start_date=2017-11-23&default_sort_by=yearlyRevDesc&page=1&limit=25&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search API using json search string
https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k&[email protected]

Send JSON string to search the Lead11 database for company or employee records

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k
sub_account_email

optional, if available in request then sub_account suppression will be used

BODY

search_string
{"company_ids":"1743","US_zipcodes":"","range":"5","State_array":"", "Technology_array":"","SoftwareHardware_array":"", "Category_array":"", "Title_array":"", "user_search_string":"cisco.com","SIC_Codes":"", "Area_Codes":"","Employee_Skills":"","Industry_Codes":"", "FilterRevenue":"all,1,2,3,4,5,6,7,8,9,10,11,12", "FilterEmployee":"all,1,2,3,4,5,6,7,8,9,10,11,12", "FilterLevel":"", "FilterType":"resultTypeAll,companyResultsAll,peopleVerifiedEmails,resultNormal,,,suppressed_no,,linkedin_no,,allcountries,exported_no,has_direct_dial_no,", "Press_event_data":"null#2017-11-13#2017-11-13", "company_description_string":"","title_keyword":"", "product_keyword":"","currently_hiring_title":"","technology_uses_text":"technology_uses_yes"}

json search string for searching data

page(or start)
1

Used for pagination for multiple rows

per_page (or limit)
25

Used for getting number of records per page (per_page max value 100 allowed per page) (you can use 'limit' instead of per_page as a param as well)



Example Request
Search API using json search string
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchUsingJSON?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cHM6Ly9hcGkubGVhZDQxMS5jb20vdjEvYXV0aGVudGljYXRlX3VzZXIiLCJpYXQiOjE1MTI0ODE4MDEsImV4cCI6MTUxMjc0MTAwMSwibmJmIjoxNTEyNDgxODAxLCJqdGkiOiIxSFZkbVJnY3hPbjU2MFQ1In0.LeDh7G38FsYXhIr2FS4I64rlfS-6d1u4GB7UOSZNk_k&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => array('search_string' => '{"company_ids":"1743","US_zipcodes":"","range":"5","State_array":"",
"Technology_array":"","SoftwareHardware_array":"", "Category_array":"", "Title_array":"", "user_search_string":"cisco.com","SIC_Codes":"", "Area_Codes":"","Employee_Skills":"","Industry_Codes":"", "FilterRevenue":"all,1,2,3,4,5,6,7,8,9,10,11,12", "FilterEmployee":"all,1,2,3,4,5,6,7,8,9,10,11,12", "FilterLevel":"", "FilterType":"resultTypeAll,companyResultsAll,peopleVerifiedEmails,resultNormal,,,suppressed_no,,linkedin_no,,allcountries,exported_no,has_direct_dial_no,", "Press_event_data":"null#2017-11-13#2017-11-13", "company_description_string":"","title_keyword":"",
"product_keyword":"","currently_hiring_title":"","technology_uses_text":"technology_uses_yes"}'),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Details
https://api.lead411.com/v1/company/getCompanyInfo?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762

This API will return all the information regarding company

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

required user access token

company_id
1762

company id for which api needs to send result

BODY



Example Request
Get Company Details
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyInfo?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Details using Linkedin URL
https://api.lead411.com/v1/company/getCompanyInfo?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762

This API will return all the information regarding company

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

required user access token

linkedin_url
https://www.linkedin.com/company/lead411

linkedin url for which api needs to send result

BODY



Example Request
Get Company Details using Linkedin URL
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyInfo?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&linkedin_url=https://www.linkedin.com/company/lead411",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company News Details
https://api.lead411.com/v1/company/getCompanyNews?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762

This API will return all the News of the company

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

required user access token

company_id
1762

company id for which api needs to send result

limit
all

optional parameter to get all result based on the value passed, it can be all, or 10,20,50,100

BODY



Example Request
Get Company News Details
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyNews?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Jobs Details
https://api.lead411.com/v1/company/getCompanyJobs?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762

This API will return the Job information of the company

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

required user access token

company_id
1762

company id for which api needs to send result

limit
all

optional parameter to get all result based on the value passed, it can be all, or 10,20,50,100

BODY



Example Request
Get Company Jobs Details
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyJobs?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Technology Data
https://api.lead411.com/v1/company/getCompanyTech?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762

This API will return Technology information regarding company

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

required user access token

company_id
1762

company id for which api needs to send result

limit
all

optional parameter to get all result based on the value passed, it can be all, or 10,20,50,100

BODY



Example Request
Get Company Technology Data
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyTech?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&company_id=1762",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Employees List
https://api.lead411.com/v1/company/getCompanyEmployees?company_id=1762&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&page=1&per_page=25

This apAPIi will return all employees attached to the company for which we are sending request by providing company ID

PARAMS

company_id
1762

company id for which api needs to send result

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
page (or start)
1

Used for pagination for multiple rows (Optional parameter, The OFFSET value allows to specify which row to start from retrieving data)

per_page (or limit)
25

Used for getting number of records per page (per_page max value 100 allowed per page) (you can use 'limit' instead of per_page as a param as well)

BODY



Example Request
Get Company Employees List
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/getCompanyEmployees?company_id=1762&token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&start=0",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Employees information
https://api.lead411.com/v1/employee/getEmployeeInformation?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&employee_id=8972869

This API will return employees information for which we are sending request by providing employee ID

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
employee_id
8972869
BODY



Example Request
Get Company Employees information
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/employee/getEmployeeInformation?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&employee_id=8972869",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search Employee based on Email
https://api.lead411.com/v1/employee/getEmployeeInformation?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&[email protected]

This API will return employees information for which we are sending request by providing email address

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
BODY



Example Request
Search Employee based on Email
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/employee/getEmployeeInformation?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&[email protected]",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search into Company Employees list
https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&company_id=1762&search_name=Patterson

Filter company Employee Result based on name, title, dept

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

required user access token

company_id
1762

company id for which api needs to send result

search_name
Patterson

optional parameter to filter the result based on first_name or last_name or title

BODY



Example Request
Search into Company Employees list
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&company_id=1762&search_name=Patterson",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search Company's Employees using Linkedin URL(s)
https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY&company_id=1762&linkedin_url=linkedin.com/in/acagnetta

Filter company Employee Result based on Employee linked url(s). Example:

Filter the result based on Employee's Linkedin URL(s), Pass 'linkedin_url' param value in any of below format, you can pass like single url or multiple linkedin urls, please check PARAMS section for how to pass multiple linkedin urls

  • https://www.linkedin.com/in/acagnetta
  • linkedin.com/in/acagnetta
  • in/acagnetta
  • acagnetta
  • ["https://www.linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"] (max 100)
PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY

required user access token

company_id
1762

optional param: company id for which api needs to look for specific company's employees

linkedin_url
linkedin.com/in/acagnetta or ["linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"] (max 100)

Filter the result based on Employee's Linkedin URL(s), you can pass value as https://www.linkedin.com/in/acagnetta or linkedin.com/in/acagnetta or in/acagnetta or ["https://www.linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"] (max 100)

BODY



Example Request
Search Company's Employees using Linkedin URL(s)
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M%20JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY&company_id=1762&linkedin_url=linkedin.com/in/acagnetta",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search Employees using Linkedin URL(s)
https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY&linkedin_url=linkedin.com/in/acagnetta

Filter Employee Result based on Employee linked url. Example:

Filter the result based on Employee's Linkedin URL, Pass 'linkedin_url' param value in any of below format, you can pass like single url or multiple linkedin urls, please check PARAMS section for how to pass multiple linkedin urls

  • https://www.linkedin.com/in/acagnetta
  • http://www.linkedin.com/in/acagnetta
  • www.linkedin.com/in/acagnetta
  • linkedin.com/in/acagnetta
  • ["https://www.linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"](max 100)
PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY

required user access token

linkedin_url
linkedin.com/in/acagnetta or ["linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"](max 100)

Filter the result based on Employee's Linkedin URL, you can pass value as https://www.linkedin.com/in/acagnetta or linkedin.com/in/acagnetta or ["linkedin.com/in/acagnetta","linkedin.com/in/paul-pricoli-9a21935"](max 100)



Example Request
Search Employees using Linkedin URL
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIyNDgyLCJpc3MiOiJodHRwczovL2FdswaS5sZWFkNDExLmNvbS92MS9hdXRoZW50aWNhdGVfdXNlciIsImlhdCI6M%20JuYmYiOjE1NTkxMTc1NTQsImp0aSI6IlR4a3FVZnVJRlJoRdzZDZTcifQ.DMwmzfrCRwBvS811bZmf4URiBWdiDgXr2O7MvBhUoxY&linkedin_url=linkedin.com/in/acagnetta",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Search Company's Employees based on Employees Title
https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OT2ac5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2sdFyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&company_id=1762&search_title=ceo,cfo,marketing

Search company's cmployees based only on employee title

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OT2ac5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2sdFyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

required user access token

company_id
1762

company id for which api needs to send result

search_title
ceo,cfo,marketing

optional parameter to filter the result based on employee title

BODY



Example Request
Search Company's Employees based on Employees Title
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/company/searchCompanyEmployees?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OT2ac5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2sdFyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&company_id=1762&search_title=ceo,cfo,marketing",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Unlock Employee Data Email and Phone
https://api.lead411.com/v1/employee/unlock_employee_record?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&employee_id=8972869

This API will unlock the employee and return the email and phone if available in the Lead411 DB

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
employee_id
8972869
BODY



Example Request
Unlock Employee Data Email and Phone
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/employee/unlock_employee_record?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY&employee_id=8972869",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Logout and exit
https://api.lead411.com/v1/logout/?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY

Logout and delete the generated token

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY
BODY



Example Request
Logout and exit
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/logout/?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTEwOTQ2OTU1LCJleHAiOjE1MTEyMDYxNTUsIm5iZiI6MTUxMDk0Njk1NSwianRpIjoiYmluODM3eFdDaUZmdk8wUyJ9.GSZf7g0m26Mik6SnBVxPj9Qoh0nVscMI9TkTUArA_JY",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get UX Element
https://api.lead411.com/v1/get_advance_popup_elements?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjgwMzgwLCJleHAiOjE1MTE1Mzk1ODAsIm5iZiI6MTUxMTI4MDM4MCwianRpIjoiUjU3RzdYaXFhRmlLbWFYaiJ9.lb4JXAPtfCA4hKyTAfFAqi8q9QxqQfxrLczSYiyVBR0

This API will return all required elements which are required to build the Advance Popup UX

In the result, a few elements will return with the values tag having 'dynamic' value in the 'api_call' tag, which means you can get the dynamic data require to display in the dropdown by calling api url mentioned in 'api_call'

Data returned in response are used to create the Collection of HTML elements which is further used to send to Lead411 search API  after filling required valid data where ever possible or required. (for search string JSON, please check search API document)

Just place the element values in search string JSON's appropriate position and hit the search API URL with filled search string JSON and the search API will validate the data and match using those filled element data within the Lead411 database and return the records matches as per filled data provided in request.

Let's first undersntand how to build the UX as follows:

This API's returned response will contains around 25 elements to build the UX and each of the element having its own essential role to get the 'company and/or people' result from Lead411 database using search API.

Lets start with basic and most important element of UX i.e. user_search_string and also we will get to know how to use this JSON snippet to build HTML element for front end:

Snipped captured from JSON response:

{
"advance_feature_popup_elements":

{

"user_search_string": {
"display_name": "Company or Person",
"input_type": "text",
"values": {
"rules": "none"
},
"default_value": "",
"maxlength": "255",
"minlength": "0"
},

As this element is 'user_search_string' and the same tag will be there in JSON search string as well, which needs to be filled in for search API request hit or can be send using form element or parameter to API request. So it's upto the user to fill the search string or send these as a parameter. Lets understand its child element tags as follows:

display_name :This repersents the label to be shown for the element or can be used for the placeholder of the element. So in this case it would be "Company or Person".

input_type: This repersents which type of the HTML element is required to build, it can be text input filed, dropdown/selectbox, radio, date, slider. Its upto the customer if they want to change it to some other element but on search string you have to fill the data which make sense as per given input type in response. In this case, it would be text inpur field.

rules: Rules mentioned here are restrictions that apply before sending or filling its input value in the search string. It can be :

none: meaning anything can be fill

1 or 2 or n : Minimum char required to fill before filling json.

Leave empty for all: meaning it will take every possible value in consideration so not required to fill out if you with to.

default_value: As name suggest , so this is default value which would be considered if you don't fill anything in JSON search string.

maxlength: maximum length of the input type.

minlength: minmum length of the input type.

As we have covered all the tags , now is the time to build the HTML element code based on these values.

<input type="text" placeholder="Company or Person" value=""/>

so this will be the result of above provided snippet

 

 

 

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjgwMzgwLCJleHAiOjE1MTE1Mzk1ODAsIm5iZiI6MTUxMTI4MDM4MCwianRpIjoiUjU3RzdYaXFhRmlLbWFYaiJ9.lb4JXAPtfCA4hKyTAfFAqi8q9QxqQfxrLczSYiyVBR0
BODY



Example Request
Get UX Element
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/get_advance_popup_elements?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjgwMzgwLCJleHAiOjE1MTE1Mzk1ODAsIm5iZiI6MTUxMTI4MDM4MCwianRpIjoiUjU3RzdYaXFhRmlLbWFYaiJ9.lb4JXAPtfCA4hKyTAfFAqi8q9QxqQfxrLczSYiyVBR0",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Title From DB
https://api.lead411.com/v1/search/searchTitleData?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=ceo,cfo,marketing&filterIds=300,9,40&existingIds=12,232,300

This API will return title to build Title Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
ceo,cfo,marketing

optional paramter to search in to title colletion

filterIds
300,9,40

optional paramter to exlude from the title result

existingIds
12,232,300

optional paramter to include only title matching passed ids

BODY



Example Request
Get Title From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchTitleData?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=ceo,cfo,marketing&filterIds=300,9,40&existingIds=12,232,300",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Area Code From DB
https://api.lead411.com/v1/search/searchAreaCode?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=818&existingIds=403

This apAPIi will return area code to build AreaCode Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
cal

optional paramter to search in to AreaCode colletion

filterIds
818

optional paramter to exlude from the AreaCoderesult

existingIds
403

optional paramter to include only search matching passed ids

BODY



Example Request
Get Area Code From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchAreaCode?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=818&existingIds=403",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Zip Code From DB
https://api.lead411.com/v1/search/searchZipCode?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=04619&existingIds=04619&country_code=US

This API will return zip code to build ZipCode Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
cal

optional paramter to search in to ZipCode colletion

filterIds
04619

optional paramter to exlude from the ZipCode result

existingIds
04619

optional paramter to include only search matching passed ids

country_code
US

Two Character Country Codes. See list here.

BODY



Example Request
Get Zip Code From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchZipCode?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=04619&existingIds=04619&country_code=US",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Region From DB
https://api.lead411.com/v1/search/searchRegion?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=CA&existingIds=CA

This API will return region code to build RegionCode Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
cal

optional paramter to search in to ZipCode colletion

filterIds
CA

optional paramter to exlude from the ZipCode result

existingIds
CA

optional paramter to include only search matching passed ids

BODY



Example Request
Get Region From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchRegion?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=cal&filterIds=CA&existingIds=CA",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get SoftwareHardware From DB
https://api.lead411.com/v1/search/searchSoftwareHardware?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=IT&filterIds=14807_it,21891_it&existingIds=21891_it

This API will return software and hardware data to build Software/Hardware Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
IT

optional paramter to search in to SoftwareHardware colletion

filterIds
14807_it,21891_it

optional paramter to exlude from the SoftwareHardware result

existingIds
21891_it

optional paramter to include only search matching passed ids

BODY



Example Request
Get SoftwareHardware From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchSoftwareHardware?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=IT&filterIds=14807_it,21891_it&existingIds=21891_it",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Search SIC code From DB
https://api.lead411.com/v1/search/searchSic?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=Wheat&filterIds=01110000&existingIds=0111

This API will return SIC code to build Search SIC Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
Wheat

optional paramter to search in to SoftwareHardware colletion

filterIds
01110000

optional paramter to exlude from the SoftwareHardware result

existingIds
0111

optional paramter to include only search matching passed ids

BODY



Example Request
Get Search SIC code From DB
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/searchSic?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=Wheat&filterIds=01110000&existingIds=0111",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Industry Data
https://api.lead411.com/v1/search/search_industry_linkedin_keywords?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=software

This API will return industry data to build Industry Dropdown Element on Advance UX popup, search_keyword is the optional param where you can pass value to get matched records.

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
search_keyword
software

optional parameter which hold the keyword to match

BODY



Example Request
Get Industry Data
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/search_industry_linkedin_keywords?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec&search_keyword=software",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get News Category Data
https://api.lead411.com/v1/search/getNewsCategoryData?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

This API will return the News Category data to build News Category Dropdown Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
BODY



Example Request
Get News Category Data
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/getNewsCategoryData?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Sort By Options
https://api.lead411.com/v1/get_search_sortby_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

This API will return the Sort By Options to build Sort By Dropdown Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
BODY



Example Request
Get Sort By Options
<?php

                        $curl = curl_init();

                        curl_setopt_array($curl, array(
                          CURLOPT_URL => "https://api.lead411.com/v1/get_search_sortby_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec",
                          CURLOPT_RETURNTRANSFER => true,
                          CURLOPT_ENCODING => "",
                          CURLOPT_MAXREDIRS => 10,
                          CURLOPT_TIMEOUT => 0,
                          CURLOPT_FOLLOWLOCATION => false,
                          CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
                          CURLOPT_CUSTOMREQUEST => "POST",
                        ));

                        $response = curl_exec($curl);
                        $err = curl_error($curl);

                        curl_close($curl);

                        if ($err) {
                          echo "cURL Error #:" . $err;
                        } else {
                          echo $response;
                        } ?>
POST Get Number of Employees Data
https://api.lead411.com/v1/search/get_number_of_employees_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

This API will return the Number of Employee Data to build Number of Employee Dropdown Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
BODY



Example Request
Get Number of Employees Data
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/get_number_of_employees_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>
POST Get Company Yearly Revenues Data
https://api.lead411.com/v1/search/get_yearly_revenues_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec

This API will return the Company Yearly Revenues Data to build Company Yearly Revenues Dropdown Element on Advance UX popup

PARAMS

token
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec
BODY



Example Request
Get Company Yearly Revenues Data
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.lead411.com/v1/search/get_yearly_revenues_options?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjM3MDQ0NCwiaXNzIjoiaHR0cDovL2FwaS5sZWFkNDExLmNvbTo4MDAwL3YxL2F1dGhlbnRpY2F0ZV91c2VyIiwiaWF0IjoxNTExMjM4NzA3LCJleHAiOjE1MTE0OTc5MDcsIm5iZiI6MTUxMTIzODcwNywianRpIjoiY1V0UWE4V2FyYzM2d3M0RiJ9.5MoiOcU3uPy_N9P0iD2RwWRd-LWiMbxxqEXW316S5Ec",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => false,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
} ?>