curl --request POST \
--url https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"listId": "<string>",
"rowIndexes": [
123
],
"companyId": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import"
payload = {
"listId": "<string>",
"rowIndexes": [123],
"companyId": "<string>"
}
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({listId: '<string>', rowIndexes: [123], companyId: '<string>'})
};
fetch('https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import', 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.parallellabs.app/api/v0/lead-searches/{searchId}/import",
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([
'listId' => '<string>',
'rowIndexes' => [
123
],
'companyId' => '<string>'
]),
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://api.parallellabs.app/api/v0/lead-searches/{searchId}/import"
payload := strings.NewReader("{\n \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\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://api.parallellabs.app/api/v0/lead-searches/{searchId}/import")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import")
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 \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"found": 123,
"imported": 123,
"failed": 123,
"searchId": "<string>",
"source": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Import a saved search's results into a smart list — free.
Works for any saved search, whichever surface produced it (a Sales Navigator search or an enrichment lookup). The results were stored when the search ran and were paid for then, so this reuses them and charges nothing rather than asking the vendor for the same leads twice.
People already on the list are matched on linkedinUrl and enriched in place — only their empty fields are filled — so importing the same search twice does not create duplicates. Missing columns are created automatically.
Pass rowIndexes to import only some of the results (0-based, indexing into
the search’s stored results); omit it to import all of them.
curl --request POST \
--url https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"listId": "<string>",
"rowIndexes": [
123
],
"companyId": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import"
payload = {
"listId": "<string>",
"rowIndexes": [123],
"companyId": "<string>"
}
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({listId: '<string>', rowIndexes: [123], companyId: '<string>'})
};
fetch('https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import', 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.parallellabs.app/api/v0/lead-searches/{searchId}/import",
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([
'listId' => '<string>',
'rowIndexes' => [
123
],
'companyId' => '<string>'
]),
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://api.parallellabs.app/api/v0/lead-searches/{searchId}/import"
payload := strings.NewReader("{\n \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\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://api.parallellabs.app/api/v0/lead-searches/{searchId}/import")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/lead-searches/{searchId}/import")
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 \"listId\": \"<string>\",\n \"rowIndexes\": [\n 123\n ],\n \"companyId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"found": 123,
"imported": 123,
"failed": 123,
"searchId": "<string>",
"source": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
Where to import the saved search results
Request body for importing a saved lead search into a smart list. Works for any saved search, whichever surface produced it (Sales Navigator or enrichment). The results were paid for when the search ran, so this reuses them and charges nothing. People already on the list — matched on linkedinUrl — are enriched in place rather than duplicated, and missing columns are created automatically.
Company ID that owns the list. Required when authenticating with a personal access key (pak_…) — the key is not tied to a specific company so the server cannot infer it. Required when authenticating with a company API key only if the key belongs to a user who has access to multiple companies; otherwise it defaults to the key's company. Optional for JWT (dashboard) auth — defaults to the user's active company.
Response
The leads imported into the list
Outcome of importing a saved lead search into a smart list

