curl --request POST \
--url https://app.leonar.app/api/v1/sourcing/database/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"job_titles": [
"<string>"
],
"job_titles_current_only": true,
"job_titles_past_only": true,
"companies": [
"<string>"
],
"companies_current_only": true,
"locations": {
"cities": [
"<string>"
],
"states": [
"<string>"
],
"countries": [
"<string>"
]
},
"keywords": [
"<string>"
],
"boolean_query": "<string>",
"schools": [
"<string>"
],
"years_experience": {
"min": 123,
"max": 123
},
"company_size": [
{
"min": 123,
"max": 123
}
],
"first_name": "<string>",
"last_name": "<string>",
"page": 1,
"page_size": 20
}
'{
"data": {
"profiles": [
{
"profile_id": "ACwAABrjaVMBOLcCrV5aEw1zCAjE_zec6PbnU1A",
"first_name": "Sophie",
"last_name": "Martin",
"headline": "Senior Software Engineer at Doctolib",
"picture_url": "https://media.licdn.com/dms/image/example.jpg",
"location": "Paris, Île-de-France, France",
"linkedin_url": "https://www.linkedin.com/in/sophie-martin",
"summary": "Experienced engineer with 8 years in full-stack development...",
"current_job": {
"title": "Senior Software Engineer",
"company_name": "Doctolib"
},
"experiences": [
{
"title": "Senior Software Engineer",
"company_name": "Doctolib",
"start_date": "2021-03-01",
"end_date": null,
"description": "Leading backend team, Python/Django stack...",
"is_current": true
},
{
"title": "Software Engineer",
"company_name": "Criteo",
"start_date": "2018-01-01",
"end_date": "2021-02-28",
"description": "Built real-time bidding systems in Python...",
"is_current": false
}
],
"educations": [
{
"educational_establishment": "École Polytechnique",
"diploma": "Master of Engineering",
"specialization": "Computer Science",
"start_date": "2014-09-01",
"end_date": "2018-06-30"
}
],
"skills": [
"Python",
"Django",
"TypeScript",
"PostgreSQL"
],
"total_years_experience": 8.2,
"already_in_project": false,
"existing_contact_id": null
}
],
"total_count": 123,
"filtered_count": 123,
"next_page": 123,
"has_more": true
}
}Search Leonar’s external people database with flat filters.
curl --request POST \
--url https://app.leonar.app/api/v1/sourcing/database/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"project_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"job_titles": [
"<string>"
],
"job_titles_current_only": true,
"job_titles_past_only": true,
"companies": [
"<string>"
],
"companies_current_only": true,
"locations": {
"cities": [
"<string>"
],
"states": [
"<string>"
],
"countries": [
"<string>"
]
},
"keywords": [
"<string>"
],
"boolean_query": "<string>",
"schools": [
"<string>"
],
"years_experience": {
"min": 123,
"max": 123
},
"company_size": [
{
"min": 123,
"max": 123
}
],
"first_name": "<string>",
"last_name": "<string>",
"page": 1,
"page_size": 20
}
'{
"data": {
"profiles": [
{
"profile_id": "ACwAABrjaVMBOLcCrV5aEw1zCAjE_zec6PbnU1A",
"first_name": "Sophie",
"last_name": "Martin",
"headline": "Senior Software Engineer at Doctolib",
"picture_url": "https://media.licdn.com/dms/image/example.jpg",
"location": "Paris, Île-de-France, France",
"linkedin_url": "https://www.linkedin.com/in/sophie-martin",
"summary": "Experienced engineer with 8 years in full-stack development...",
"current_job": {
"title": "Senior Software Engineer",
"company_name": "Doctolib"
},
"experiences": [
{
"title": "Senior Software Engineer",
"company_name": "Doctolib",
"start_date": "2021-03-01",
"end_date": null,
"description": "Leading backend team, Python/Django stack...",
"is_current": true
},
{
"title": "Software Engineer",
"company_name": "Criteo",
"start_date": "2018-01-01",
"end_date": "2021-02-28",
"description": "Built real-time bidding systems in Python...",
"is_current": false
}
],
"educations": [
{
"educational_establishment": "École Polytechnique",
"diploma": "Master of Engineering",
"specialization": "Computer Science",
"start_date": "2014-09-01",
"end_date": "2018-06-30"
}
],
"skills": [
"Python",
"Django",
"TypeScript",
"PostgreSQL"
],
"total_years_experience": 8.2,
"already_in_project": false,
"existing_contact_id": null
}
],
"total_count": 123,
"filtered_count": 123,
"next_page": 123,
"has_more": true
}
}API key starting with leo_
Show child attributes
Boolean search query using AND, OR, NOT operators and quoted phrases. Example: (React OR Vue) AND "Frontend Developer". See the Boolean search guide for full syntax.
Show child attributes
Show child attributes
x >= 11 <= x <= 25Search results
Show child attributes