Search and Enrich Contacts
curl --request POST \
--url https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"clientReferenceId": "<string>",
"companyDomain": "<string>",
"companyName": "<string>",
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"linkedinUrl": "<string>"
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts"
payload = { "contacts": [
{
"clientReferenceId": "<string>",
"companyDomain": "<string>",
"companyName": "<string>",
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"linkedinUrl": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contacts: [
{
clientReferenceId: '<string>',
companyDomain: '<string>',
companyName: '<string>',
email: '<string>',
firstName: '<string>',
id: '<string>',
lastName: '<string>',
linkedinUrl: '<string>'
}
]
})
};
fetch('https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contacts' => [
[
'clientReferenceId' => '<string>',
'companyDomain' => '<string>',
'companyName' => '<string>',
'email' => '<string>',
'firstName' => '<string>',
'id' => '<string>',
'lastName' => '<string>',
'linkedinUrl' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts"
payload := strings.NewReader("{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"billing": {
"creditsCharged": 123,
"resultsReturned": 123
},
"requestId": "<string>",
"results": [
{
"clientReferenceId": "<string>",
"company": {
"domain": "<string>",
"id": "<string>",
"industry": "<string>",
"name": "<string>"
},
"emails": [
{
"confidence": "<string>",
"credits": 123,
"dataSource": "<string>",
"email": "<string>",
"type": "work",
"updateDate": "2023-12-25"
}
],
"error": {
"code": "<string>",
"message": "<string>"
},
"firstName": "<string>",
"fullName": "<string>",
"id": "<string>",
"jobTitle": {
"departments": [
"<string>"
],
"seniority": "<string>",
"title": "<string>"
},
"lastName": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"location": {
"city": "<string>",
"continent": "<string>",
"coordinates": [
123
],
"country": "<string>",
"countryIso2": "<string>",
"isEuContact": true,
"state": "<string>"
},
"missingDataPoints": [
{
"description": "<string>",
"status": "NOT_FOUND",
"type": "email"
}
],
"partialProfile": true,
"phones": [
{
"credits": 123,
"dataSource": "<string>",
"doNotCall": true,
"number": "<string>",
"type": "mobile",
"updateDate": "2023-12-25"
}
],
"previousEmployment": [
{
"company": {
"domain": "<string>",
"name": "<string>"
},
"jobTitle": {
"departments": [
"<string>"
],
"seniority": "<string>",
"title": "<string>"
}
}
],
"profile": {
"awards": [
{
"date": "<string>",
"title": "<string>"
}
],
"certifications": [
{
"authority": "<string>",
"name": "<string>"
}
],
"courses": [
{
"name": "<string>"
}
],
"skills": [
"<string>"
]
},
"socialLinks": {
"linkedin": "<string>",
"xUrl": "<string>"
},
"tags": [
{
"color": "<string>",
"id": "<string>",
"name": "<string>"
}
],
"updateDate": "2023-12-25"
}
],
"status": "<string>",
"statusDescription": "<string>",
"statusReason": "<string>"
}Lusha
Search and Enrich Contacts
Search and Enrich Contacts
POST
https://api.aisa.one
/
apis
/
v1
/
lusha
/
search-and-enrich-contacts
Search and Enrich Contacts
curl --request POST \
--url https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contacts": [
{
"clientReferenceId": "<string>",
"companyDomain": "<string>",
"companyName": "<string>",
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"linkedinUrl": "<string>"
}
]
}
'import requests
url = "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts"
payload = { "contacts": [
{
"clientReferenceId": "<string>",
"companyDomain": "<string>",
"companyName": "<string>",
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"linkedinUrl": "<string>"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
contacts: [
{
clientReferenceId: '<string>',
companyDomain: '<string>',
companyName: '<string>',
email: '<string>',
firstName: '<string>',
id: '<string>',
lastName: '<string>',
linkedinUrl: '<string>'
}
]
})
};
fetch('https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'contacts' => [
[
'clientReferenceId' => '<string>',
'companyDomain' => '<string>',
'companyName' => '<string>',
'email' => '<string>',
'firstName' => '<string>',
'id' => '<string>',
'lastName' => '<string>',
'linkedinUrl' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts"
payload := strings.NewReader("{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"contacts\": [\n {\n \"clientReferenceId\": \"<string>\",\n \"companyDomain\": \"<string>\",\n \"companyName\": \"<string>\",\n \"email\": \"<string>\",\n \"firstName\": \"<string>\",\n \"id\": \"<string>\",\n \"lastName\": \"<string>\",\n \"linkedinUrl\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"billing": {
"creditsCharged": 123,
"resultsReturned": 123
},
"requestId": "<string>",
"results": [
{
"clientReferenceId": "<string>",
"company": {
"domain": "<string>",
"id": "<string>",
"industry": "<string>",
"name": "<string>"
},
"emails": [
{
"confidence": "<string>",
"credits": 123,
"dataSource": "<string>",
"email": "<string>",
"type": "work",
"updateDate": "2023-12-25"
}
],
"error": {
"code": "<string>",
"message": "<string>"
},
"firstName": "<string>",
"fullName": "<string>",
"id": "<string>",
"jobTitle": {
"departments": [
"<string>"
],
"seniority": "<string>",
"title": "<string>"
},
"lastName": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"location": {
"city": "<string>",
"continent": "<string>",
"coordinates": [
123
],
"country": "<string>",
"countryIso2": "<string>",
"isEuContact": true,
"state": "<string>"
},
"missingDataPoints": [
{
"description": "<string>",
"status": "NOT_FOUND",
"type": "email"
}
],
"partialProfile": true,
"phones": [
{
"credits": 123,
"dataSource": "<string>",
"doNotCall": true,
"number": "<string>",
"type": "mobile",
"updateDate": "2023-12-25"
}
],
"previousEmployment": [
{
"company": {
"domain": "<string>",
"name": "<string>"
},
"jobTitle": {
"departments": [
"<string>"
],
"seniority": "<string>",
"title": "<string>"
}
}
],
"profile": {
"awards": [
{
"date": "<string>",
"title": "<string>"
}
],
"certifications": [
{
"authority": "<string>",
"name": "<string>"
}
],
"courses": [
{
"name": "<string>"
}
],
"skills": [
"<string>"
]
},
"socialLinks": {
"linkedin": "<string>",
"xUrl": "<string>"
},
"tags": [
{
"color": "<string>",
"id": "<string>",
"name": "<string>"
}
],
"updateDate": "2023-12-25"
}
],
"status": "<string>",
"statusDescription": "<string>",
"statusReason": "<string>"
}Request contract
- Method and path: POST /apis/v1/lusha/search-and-enrich-contacts
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/lusha/search-and-enrich-contacts
{
"operationId": "lusha.search-and-enrich-contacts",
"method": "POST",
"path": "/apis/v1/lusha/search-and-enrich-contacts",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"properties": {
"contacts": {
"description": "One to 100 contacts identified by Lusha ID, LinkedIn URL, email, or name and company.",
"items": {
"additionalProperties": false,
"description": "A documented set of identifiers used to find one Lusha contact.",
"properties": {
"clientReferenceId": {
"description": "Caller-defined reference returned with this contact's result.",
"type": "string"
},
"companyDomain": {
"description": "The contact's company domain.",
"type": "string"
},
"companyName": {
"description": "The contact's company name.",
"type": "string"
},
"email": {
"description": "The contact's known email address.",
"type": "string"
},
"firstName": {
"description": "The contact's first name.",
"type": "string"
},
"id": {
"description": "A known Lusha contact ID.",
"type": "string"
},
"lastName": {
"description": "The contact's last name.",
"type": "string"
},
"linkedinUrl": {
"description": "The contact's LinkedIn profile URL.",
"type": "string"
}
},
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"options": {
"additionalProperties": false,
"description": "Additional contact search options.",
"properties": {
"includePartialProfiles": {
"description": "Whether Lusha may return partial contact profiles.",
"type": "boolean"
}
},
"type": "object"
},
"reveal": {
"description": "Contact data to reveal: emails, phones, or both.",
"items": {
"enum": [
"emails",
"phones"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"contacts"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0103 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json