curl --request POST \
--url https://app.pipecorn.com/api/v2/leads/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"company_linkedin_id": "1234567890",
"job_titles": [
"Software Engineer",
"Product Manager"
],
"name": "Software Engineer Search",
"webhook_url": "https://example.com/webhook",
"company_linkedin_url": "https://www.linkedin.com/company/pipecorn",
"excluded_job_titles": [
"Intern",
"Contractor"
],
"persona_id": "1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f",
"included_locations": [
"105015875",
"102221843"
],
"excluded_locations": [
"103644278"
],
"functions": [
"13",
"15"
],
"seniority_levels": [
"220",
"300"
],
"streaming": true,
"custom": {
"hubspot_id": "134567"
},
"limit": 100,
"scale": true,
"live": true,
"position": "start"
}
'import requests
url = "https://app.pipecorn.com/api/v2/leads/search"
payload = {
"company_linkedin_id": "1234567890",
"job_titles": ["Software Engineer", "Product Manager"],
"name": "Software Engineer Search",
"webhook_url": "https://example.com/webhook",
"company_linkedin_url": "https://www.linkedin.com/company/pipecorn",
"excluded_job_titles": ["Intern", "Contractor"],
"persona_id": "1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f",
"included_locations": ["105015875", "102221843"],
"excluded_locations": ["103644278"],
"functions": ["13", "15"],
"seniority_levels": ["220", "300"],
"streaming": True,
"custom": { "hubspot_id": "134567" },
"limit": 100,
"scale": True,
"live": True,
"position": "start"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
company_linkedin_id: '1234567890',
job_titles: ['Software Engineer', 'Product Manager'],
name: 'Software Engineer Search',
webhook_url: 'https://example.com/webhook',
company_linkedin_url: 'https://www.linkedin.com/company/pipecorn',
excluded_job_titles: ['Intern', 'Contractor'],
persona_id: '1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f',
included_locations: ['105015875', '102221843'],
excluded_locations: ['103644278'],
functions: ['13', '15'],
seniority_levels: ['220', '300'],
streaming: true,
custom: {hubspot_id: '134567'},
limit: 100,
scale: true,
live: true,
position: 'start'
})
};
fetch('https://app.pipecorn.com/api/v2/leads/search', 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://app.pipecorn.com/api/v2/leads/search",
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([
'company_linkedin_id' => '1234567890',
'job_titles' => [
'Software Engineer',
'Product Manager'
],
'name' => 'Software Engineer Search',
'webhook_url' => 'https://example.com/webhook',
'company_linkedin_url' => 'https://www.linkedin.com/company/pipecorn',
'excluded_job_titles' => [
'Intern',
'Contractor'
],
'persona_id' => '1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f',
'included_locations' => [
'105015875',
'102221843'
],
'excluded_locations' => [
'103644278'
],
'functions' => [
'13',
'15'
],
'seniority_levels' => [
'220',
'300'
],
'streaming' => true,
'custom' => [
'hubspot_id' => '134567'
],
'limit' => 100,
'scale' => true,
'live' => true,
'position' => 'start'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$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://app.pipecorn.com/api/v2/leads/search"
payload := strings.NewReader("{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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://app.pipecorn.com/api/v2/leads/search")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/leads/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}"
response = http.request(request)
puts response.read_body{
"data": null,
"message": "No company found"
}Find people at company
Searches for leads based on job titles and a company (LinkedIn company ID or URL). Optionally narrow results by location, LinkedIn function (department), and seniority level using the authorized ID lists below.
By default the search runs live through LinkedIn (live: true) and requires a connected integration. Set live: false to resolve the company and matching people from Pipecorn’s people database (Elasticsearch) instead, with no LinkedIn call and no integration required.
With a workspace key, a live search joins your workspace’s queue instead of starting on one member’s account: the first member whose LinkedIn session is free and whose scraping quota covers its limit (10 when omitted) runs it. See Lead search queue.
curl --request POST \
--url https://app.pipecorn.com/api/v2/leads/search \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"company_linkedin_id": "1234567890",
"job_titles": [
"Software Engineer",
"Product Manager"
],
"name": "Software Engineer Search",
"webhook_url": "https://example.com/webhook",
"company_linkedin_url": "https://www.linkedin.com/company/pipecorn",
"excluded_job_titles": [
"Intern",
"Contractor"
],
"persona_id": "1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f",
"included_locations": [
"105015875",
"102221843"
],
"excluded_locations": [
"103644278"
],
"functions": [
"13",
"15"
],
"seniority_levels": [
"220",
"300"
],
"streaming": true,
"custom": {
"hubspot_id": "134567"
},
"limit": 100,
"scale": true,
"live": true,
"position": "start"
}
'import requests
url = "https://app.pipecorn.com/api/v2/leads/search"
payload = {
"company_linkedin_id": "1234567890",
"job_titles": ["Software Engineer", "Product Manager"],
"name": "Software Engineer Search",
"webhook_url": "https://example.com/webhook",
"company_linkedin_url": "https://www.linkedin.com/company/pipecorn",
"excluded_job_titles": ["Intern", "Contractor"],
"persona_id": "1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f",
"included_locations": ["105015875", "102221843"],
"excluded_locations": ["103644278"],
"functions": ["13", "15"],
"seniority_levels": ["220", "300"],
"streaming": True,
"custom": { "hubspot_id": "134567" },
"limit": 100,
"scale": True,
"live": True,
"position": "start"
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
company_linkedin_id: '1234567890',
job_titles: ['Software Engineer', 'Product Manager'],
name: 'Software Engineer Search',
webhook_url: 'https://example.com/webhook',
company_linkedin_url: 'https://www.linkedin.com/company/pipecorn',
excluded_job_titles: ['Intern', 'Contractor'],
persona_id: '1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f',
included_locations: ['105015875', '102221843'],
excluded_locations: ['103644278'],
functions: ['13', '15'],
seniority_levels: ['220', '300'],
streaming: true,
custom: {hubspot_id: '134567'},
limit: 100,
scale: true,
live: true,
position: 'start'
})
};
fetch('https://app.pipecorn.com/api/v2/leads/search', 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://app.pipecorn.com/api/v2/leads/search",
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([
'company_linkedin_id' => '1234567890',
'job_titles' => [
'Software Engineer',
'Product Manager'
],
'name' => 'Software Engineer Search',
'webhook_url' => 'https://example.com/webhook',
'company_linkedin_url' => 'https://www.linkedin.com/company/pipecorn',
'excluded_job_titles' => [
'Intern',
'Contractor'
],
'persona_id' => '1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f',
'included_locations' => [
'105015875',
'102221843'
],
'excluded_locations' => [
'103644278'
],
'functions' => [
'13',
'15'
],
'seniority_levels' => [
'220',
'300'
],
'streaming' => true,
'custom' => [
'hubspot_id' => '134567'
],
'limit' => 100,
'scale' => true,
'live' => true,
'position' => 'start'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$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://app.pipecorn.com/api/v2/leads/search"
payload := strings.NewReader("{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
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://app.pipecorn.com/api/v2/leads/search")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/leads/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"company_linkedin_id\": \"1234567890\",\n \"job_titles\": [\n \"Software Engineer\",\n \"Product Manager\"\n ],\n \"name\": \"Software Engineer Search\",\n \"webhook_url\": \"https://example.com/webhook\",\n \"company_linkedin_url\": \"https://www.linkedin.com/company/pipecorn\",\n \"excluded_job_titles\": [\n \"Intern\",\n \"Contractor\"\n ],\n \"persona_id\": \"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f\",\n \"included_locations\": [\n \"105015875\",\n \"102221843\"\n ],\n \"excluded_locations\": [\n \"103644278\"\n ],\n \"functions\": [\n \"13\",\n \"15\"\n ],\n \"seniority_levels\": [\n \"220\",\n \"300\"\n ],\n \"streaming\": true,\n \"custom\": {\n \"hubspot_id\": \"134567\"\n },\n \"limit\": 100,\n \"scale\": true,\n \"live\": true,\n \"position\": \"start\"\n}"
response = http.request(request)
puts response.read_body{
"data": null,
"message": "No company found"
}Find 2x people than with Clay
- Input : Job titles + Company
- Output : Live matching people data
Prerequisites
In Pipecorn
- A Pipecorn account with API access
- A valid sync
- Your Pipecorn API key (How to get your API key)
In Clay
A Companies table with at least:- Company Name
- Domain
- Company LinkedIn URL (or LinkedIn Org ID)
Step 1 — Create a Webhook Table in Clay
Pipecorn needs an endpoint to “deliver” the people it finds. We’ll use a Monitor Webhook table.- In Clay, click Add → Monitor Webhook
- Clay creates a new table with a Webhook column
- Click the Webhook column → Sources → Pull data from webhook
- Copy the Webhook URL
Step 2 — Add an HTTP API Column to Your Companies Table
- Go back to your Companies table
- Click Add Column
- Choose Add Enrichment
- Select HTTP API
Step 3 — Configure the API Call
Method
POST
Endpoint
https://app.pipecorn.com/api/v2/leads/search
Body (JSON)
Paste this JSON and customize it as needed:{
"name": "Find people at {{Company Name}}",
"webhook_url": "PASTE_YOUR_WEBHOOK_URL_HERE",
"company_linkedin_url": "{{Company Linkedin URL}}",
"job_titles": [
"Head of Talent",
"HR Director",
"Talent Acquisition Manager"
],
"excluded_job_titles": [
"Intern"
],
"functions": ["12", "15"],
"seniority_levels": ["220", "300"],
"streaming": true,
"limit": 50
}
Using a saved Persona instead of inlining job titles
If you’ve already defined a Persona in Pipecorn, you can reference it bypersona_id. Pipecorn will use that persona’s included and excluded job titles automatically — do not pass job_titles or excluded_job_titles alongside persona_id.
{
"name": "Find people at {{Company Name}}",
"webhook_url": "PASTE_YOUR_WEBHOOK_URL_HERE",
"company_linkedin_url": "{{Company Linkedin URL}}",
"persona_id": "1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f",
"streaming": true,
"limit": 50
}
At least one people filter is required. The request must include at least one ofjob_titles,excluded_job_titles,functions,seniority_levels,included_locations,excluded_locations, orpersona_id. Requests with none of these return400.
Field explanations
- name: Label used inside Pipecorn. Required unless you pass
persona_id(it then defaults to the persona’s name); a request without it returns400. - webhook_url: Clay webhook URL (Step 1)
- company_linkedin_url: Clay variable for the company’s LinkedIn profile
- job_titles: The personas you want to target. If you pass
[*]we will return every person in the company, regardless of their job title. - excluded_job_titles: Optional list
- persona_id (optional): UUID of a Pipecorn Persona. When provided,
job_titlesandexcluded_job_titlesare taken from the persona definition and must not be passed in the request — doing so returns422. Use this when you want a saved persona to drive the search instead of inlining job titles. - included_locations (optional): If used, we will return only leads with matching location. Location ids can be retrieved via this endpoint.
- excluded_locations (optional): Location IDs to exclude (same ID source as above).
- functions (optional): Array of LinkedIn function IDs (department / job function). Only the IDs listed in Authorized function IDs are accepted. Multiple values use OR logic.
- seniority_levels (optional): Array of LinkedIn seniority level IDs. Only the IDs listed in Authorized seniority level IDs are accepted. Multiple values use OR logic.
- streaming: Sends results to Clay row by row
- limit: Max number of people to return per company
- live (optional, boolean): Data source. Defaults to
true, which searches LinkedIn in real time using your synced session. Set tofalseto resolve the company and matching people from Pipecorn’s people database instead — no live LinkedIn call and no synced session required. A non-boolean value returns422.
functions or seniority_levels is present, it must be a JSON array. Invalid IDs return 422 with a message listing the invalid values and the full set of valid IDs.
Authorized function IDs
| ID | Label |
|---|---|
| 1 | Accounting |
| 2 | Administrative |
| 3 | Arts and Design |
| 4 | Business Development |
| 5 | Community and Social Services |
| 6 | Consulting |
| 7 | Education |
| 8 | Engineering |
| 9 | Entrepreneurship |
| 10 | Finance |
| 11 | Healthcare Services |
| 12 | Human Resources |
| 13 | Information Technology |
| 14 | Legal |
| 15 | Marketing |
| 16 | Media and Communication |
| 17 | Military and Protective Services |
| 18 | Operations |
| 19 | Product Management |
| 20 | Program and Project Management |
| 21 | Purchasing |
| 22 | Quality Assurance |
| 23 | Real Estate |
| 24 | Research |
| 25 | Sales |
| 26 | Customer Success and Support |
Authorized seniority level IDs
| ID | Label |
|---|---|
| 100 | In Training |
| 110 | Entry Level |
| 120 | Senior |
| 130 | Strategic |
| 200 | Entry Level Manager |
| 210 | Experienced Manager |
| 220 | Director |
| 300 | Vice President |
| 310 | CXO |
| 320 | Owner / Partner |
Clay JSON formatting errors? Double-check commas, spacing, or copy our template to fix issues.
Headers
| Key | Value |
|---|---|
| X-API-KEY | Your Pipecorn API key |
Step 4 — Run Your First Find People Request
- In your Companies table
- Go to your new HTTP API column
- Click the ▶️ Play button on any company row
- query LinkedIn for your persona
- extract matching profiles
- stream the results into your Webhook table
Step 5 — View and Use the Results
Go to your Webhook table. You’ll see people appear row by row as Pipecorn finds them. Click Add Column → search and add:full_nametitlelinkedin_urllinkedin_idcompany_namestatusrejection_reasons
FAQ
Does this use my Clay credits?
No, Pipecorn handles the search, so you don’t use any Clay Find People credits.Is the data live?
Yes, by default Pipecorn searches in real-time using your synced session. If you’d rather not depend on a synced session — or want faster, integration-free results — passlive: false to search Pipecorn’s people database instead.
Can I run this at scale?
Yes, You can run it on thousands of companies. Pipecorn streams results progressively to avoid rate limits. With a workspace key, live searches join a queue shared by your workspace and each one starts on the first member whose LinkedIn session is free and whose quota covers itslimit. Pass "position": "start" to run a search ahead of the ones already waiting. See Lead search queue.
What if my sync breaks?
Just re-sync your account in Pipecorn Settings.Need help?
If you need help customizing your Find people, please book a 15min set up with me : https://zcal.co/mathieu-pipecorn/enterpriseWant to scale further ?
Thescale parameter (boolean, optional) allows you to increase your volume of requests by omitting the following fields:
connections_countheadline- Vanity LinkedIn profile URL (like
https://www.linkedin.com/in/mathieu-brun-picard/)
scale is set to true, you will still receive a LinkedIn profile URL, but it will use the user ID instead of the vanity URL format (like https://linkedin.com/in/ACwAACaX8uYBfAh-5YxmfObz4mVOKYih3zxa-TM).Body
Parameters for lead search by job title
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
Optional. UUID of a saved Pipecorn Persona. When provided, job_titles and excluded_job_titles are derived from the persona and must not be passed in the request — doing so returns 422. The persona must belong to the authenticated user.
"1f6b0f5a-2d8e-4c3a-9b8f-1a2b3c4d5e6f"
Location IDs to include. With live: true (the default), LinkedIn Sales Navigator location IDs ("source": "live" in the Location IDs endpoint, e.g. "105015875"); with live: false, Pipecorn database location IDs ("source": "database", e.g. "country:fr"). An ID of the other kind returns 422.
["105015875", "102221843"]
Optional. Filter by LinkedIn function (job function / department). Each value must be one of the authorized function IDs below. Omit or pass an empty array to not filter by function. Multiple IDs are combined with OR logic.
ID → value: 1 Accounting; 2 Administrative; 3 Arts and Design; 4 Business Development; 5 Community and Social Services; 6 Consulting; 7 Education; 8 Engineering; 9 Entrepreneurship; 10 Finance; 11 Healthcare Services; 12 Human Resources; 13 Information Technology; 14 Legal; 15 Marketing; 16 Media and Communication; 17 Military and Protective Services; 18 Operations; 19 Product Management; 20 Program and Project Management; 21 Purchasing; 22 Quality Assurance; 23 Real Estate; 24 Research; 25 Sales; 26 Customer Success and Support.
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 ["13", "15"]
Optional. Filter by LinkedIn seniority level. Each value must be one of the authorized seniority IDs below. Omit or pass an empty array to not filter by seniority. Multiple IDs are combined with OR logic.
ID → value: 100 In Training; 110 Entry Level; 120 Senior; 130 Strategic; 200 Entry Level Manager; 210 Experienced Manager; 220 Director; 300 Vice President; 310 CXO; 320 Owner / Partner.
100, 110, 120, 130, 200, 210, 220, 300, 310, 320 ["220", "300"]
When set to true, increases request volume by omitting the following fields: connections_count, headline, and vanity LinkedIn profile URL. You will still receive a LinkedIn profile URL, but it will use the user ID instead of the vanity URL (e.g., https://www.linkedin.com/in/mathieu-brun-picard/).
true
Data source toggle. true (default) runs the search live through LinkedIn and requires a connected integration. false resolves the company and matching people from Pipecorn's people database (Elasticsearch) instead and streams them to your webhook, with no LinkedIn call and no integration required. A non-boolean value returns 422.
true
Workspace key and live: true only. Where the search joins your workspace's lead search queue: end (default) behind the searches already waiting, start ahead of them. Any other value returns 422. See Lead search queue.
end, start "start"
Was this page helpful?