Find warm intros to a LinkedIn profile
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/leads/warm_intros \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/john-doe",
"linkedin_profile_url": "<string>",
"persona_id": "8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b",
"job_titles": [
"Head of Sales",
"VP Sales"
],
"excluded_job_titles": [
"Intern"
],
"target_company_ids": [
"1441",
"1035"
],
"limit": 25
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/leads/warm_intros"
payload = {
"linkedin_url": "https://www.linkedin.com/in/john-doe",
"linkedin_profile_url": "<string>",
"persona_id": "8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b",
"job_titles": ["Head of Sales", "VP Sales"],
"excluded_job_titles": ["Intern"],
"target_company_ids": ["1441", "1035"],
"limit": 25
}
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({
linkedin_url: 'https://www.linkedin.com/in/john-doe',
linkedin_profile_url: '<string>',
persona_id: '8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b',
job_titles: ['Head of Sales', 'VP Sales'],
excluded_job_titles: ['Intern'],
target_company_ids: ['1441', '1035'],
limit: 25
})
};
fetch('https://app.pipecorn.com/api/v2/intents/leads/warm_intros', 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/intents/leads/warm_intros",
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([
'linkedin_url' => 'https://www.linkedin.com/in/john-doe',
'linkedin_profile_url' => '<string>',
'persona_id' => '8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b',
'job_titles' => [
'Head of Sales',
'VP Sales'
],
'excluded_job_titles' => [
'Intern'
],
'target_company_ids' => [
'1441',
'1035'
],
'limit' => 25
]),
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/intents/leads/warm_intros"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\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/intents/leads/warm_intros")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/leads/warm_intros")
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 \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\n}"
response = http.request(request)
puts response.read_body{
"total_count": 12,
"past_companies": [
{
"id": "1035",
"name": "BNP Paribas"
}
],
"leads": [
{
"first_name": "Jane",
"last_name": "Doe",
"full_name": "Jane Doe",
"headline": "VP Sales at Acme Corp",
"degree": 2,
"current_title": "VP Sales",
"current_company": "Acme Corp",
"linkedin_id": "ACwAABD5FBQ",
"sales_navigator_url": "https://www.linkedin.com/sales/lead/ACwAABD5FBQ,NAME_SEARCH,vIqI/",
"shared_experiences": [
{
"company_id": "1035",
"company": "Sellsy",
"overlap_months": 18,
"approximate_dates": false,
"same_location": true,
"company_size": 45
}
],
"relationship_strength": {
"score": 7,
"level": "strong"
}
}
]
}Signals
Find warm intros
Find the people connected to a LinkedIn profile who worked at one of its past companies, optionally filtered by a persona or job titles.
POST
/
intents
/
leads
/
warm_intros
Find warm intros to a LinkedIn profile
curl --request POST \
--url https://app.pipecorn.com/api/v2/intents/leads/warm_intros \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/john-doe",
"linkedin_profile_url": "<string>",
"persona_id": "8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b",
"job_titles": [
"Head of Sales",
"VP Sales"
],
"excluded_job_titles": [
"Intern"
],
"target_company_ids": [
"1441",
"1035"
],
"limit": 25
}
'import requests
url = "https://app.pipecorn.com/api/v2/intents/leads/warm_intros"
payload = {
"linkedin_url": "https://www.linkedin.com/in/john-doe",
"linkedin_profile_url": "<string>",
"persona_id": "8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b",
"job_titles": ["Head of Sales", "VP Sales"],
"excluded_job_titles": ["Intern"],
"target_company_ids": ["1441", "1035"],
"limit": 25
}
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({
linkedin_url: 'https://www.linkedin.com/in/john-doe',
linkedin_profile_url: '<string>',
persona_id: '8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b',
job_titles: ['Head of Sales', 'VP Sales'],
excluded_job_titles: ['Intern'],
target_company_ids: ['1441', '1035'],
limit: 25
})
};
fetch('https://app.pipecorn.com/api/v2/intents/leads/warm_intros', 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/intents/leads/warm_intros",
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([
'linkedin_url' => 'https://www.linkedin.com/in/john-doe',
'linkedin_profile_url' => '<string>',
'persona_id' => '8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b',
'job_titles' => [
'Head of Sales',
'VP Sales'
],
'excluded_job_titles' => [
'Intern'
],
'target_company_ids' => [
'1441',
'1035'
],
'limit' => 25
]),
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/intents/leads/warm_intros"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\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/intents/leads/warm_intros")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/intents/leads/warm_intros")
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 \"linkedin_url\": \"https://www.linkedin.com/in/john-doe\",\n \"linkedin_profile_url\": \"<string>\",\n \"persona_id\": \"8f2c1b7e-3a4d-4e5f-9a6b-1c2d3e4f5a6b\",\n \"job_titles\": [\n \"Head of Sales\",\n \"VP Sales\"\n ],\n \"excluded_job_titles\": [\n \"Intern\"\n ],\n \"target_company_ids\": [\n \"1441\",\n \"1035\"\n ],\n \"limit\": 25\n}"
response = http.request(request)
puts response.read_body{
"total_count": 12,
"past_companies": [
{
"id": "1035",
"name": "BNP Paribas"
}
],
"leads": [
{
"first_name": "Jane",
"last_name": "Doe",
"full_name": "Jane Doe",
"headline": "VP Sales at Acme Corp",
"degree": 2,
"current_title": "VP Sales",
"current_company": "Acme Corp",
"linkedin_id": "ACwAABD5FBQ",
"sales_navigator_url": "https://www.linkedin.com/sales/lead/ACwAABD5FBQ,NAME_SEARCH,vIqI/",
"shared_experiences": [
{
"company_id": "1035",
"company": "Sellsy",
"overlap_months": 18,
"approximate_dates": false,
"same_location": true,
"company_size": 45
}
],
"relationship_strength": {
"score": 7,
"level": "strong"
}
}
]
}Give it someone in your network, one of your 1st-degree connections. It returns the people connected to them who worked at one of their past companies — former colleagues, the people most likely to make a warm introduction — with how well each one knows the target, strongest first.
How it works
-
The target’s profile is read from LinkedIn Sales Navigator. If they aren’t one of your 1st-degree connections, the request stops there with
422. - Their past companies are collected: every company of an ended position, except the company they work at today.
- A Sales Navigator search runs for people who are connections of the target and list one of those past companies. Your own connection degree to them doesn’t matter: 1st, 2nd and 3rd degree all match.
-
Optionally, narrow it down:
persona_id: the persona’s job titles, locations, industries and company sizes are added to the search.- or
job_titles/excluded_job_titles: filter on current titles without creating a persona.
target_company_ids: keep only the people who work today at one of these LinkedIn companies, such as the accounts in your open pipeline. Combines with either of the above.
past_companies that were used, so you can see why each lead matched.
If the target has no past company, no search runs: past_companies and leads come back empty.
How well each lead knows the target
Having worked at the same company doesn’t mean two people know each other. So Pipecorn compares each lead’s career with the target’s and lists every company both worked at inshared_experiences: how many months they were there at the same time (overlap_months, 0 when they were there at different times), whether they worked from the same city (same_location) and the company’s headcount (company_size). The fields are the same as on Find connections.
Relationship strength
relationship_strength uses the same scale as Find connections. Every lead is connected to the target and lists one of its past companies, so it scores 2 points as a shared connection, plus the points of its best shared company:
| Best shared company | Points |
|---|---|
| Overlapped | 2 |
| … and in the same city | +1 |
| … for 12 months or more | +1 |
| … at a company of 50 people or fewer | +1 |
| … at a company of 500 people or more | −1 |
| There at different times | 1 |
| Dates unknown, or the lead’s positions could not be read | 2 |
level is strong from 4 points, medium from 2 and weak below. Leads come back strongest first.
For example, a lead who spent 18 months with the target in the same city at a 45-person startup scores 2 + 2 + 1 + 1 + 1 = 7, strong. A lead who joined after the target left a 2,000-person group scores 2 + 1 = 3, medium.
Example
{
"linkedin_url": "https://www.linkedin.com/in/john-doe",
"job_titles": ["Head of Sales", "VP Sales"],
"excluded_job_titles": ["Intern"],
"limit": 50
}
{
"total_count": 12,
"past_companies": [{ "id": "1035", "name": "Sellsy" }],
"leads": [
{
"full_name": "Jane Doe",
"headline": "VP Sales at Acme Corp",
"degree": 2,
"current_title": "VP Sales",
"current_company": "Acme Corp",
"linkedin_id": "ACwAABD5FBQ",
"sales_navigator_url": "https://www.linkedin.com/sales/lead/ACwAABD5FBQ,NAME_SEARCH,vIqI/",
"shared_experiences": [
{
"company_id": "1035",
"company": "Sellsy",
"overlap_months": 18,
"approximate_dates": false,
"same_location": true,
"company_size": 45
}
],
"relationship_strength": { "score": 7, "level": "strong" }
}
]
}
Requirements
- A connected LinkedIn account with Sales Navigator. Without it the endpoint returns
422. - The target must be one of your 1st-degree connections. Otherwise the endpoint returns
422. persona_id, when given, must be one of your personas (seeGET /personas).
Notes
- Synchronous: the leads are in the response. Up to
limitleads are returned (default 25, max 100);total_countis the full number of matches on Sales Navigator. Reading the leads’ careers adds one Sales Navigator lookup per 25 leads. linkedin_urlaccepts public LinkedIn URLs, Sales Navigator URLs, or internal URNs.linkedin_profile_urlis still accepted as an alias.- Doesn’t consume credits.
Rate Limits
- 1 request per second per user, on top of your plan’s per-minute limit (see Rate Limiting).
Headers
A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.
Maximum string length:
255Example:
"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"
Body
application/json
Response
Warm intro search completed
Was this page helpful?