curl --request POST \
--url https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"postUrl": "<string>",
"companyId": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post"
payload = {
"postUrl": "<string>",
"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({postUrl: '<string>', companyId: '<string>'})
};
fetch('https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post', 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/lists/{listId}/import/linkedin-post",
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([
'postUrl' => '<string>',
'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/lists/{listId}/import/linkedin-post"
payload := strings.NewReader("{\n \"postUrl\": \"<string>\",\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/lists/{listId}/import/linkedin-post")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"postUrl\": \"<string>\",\n \"companyId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post")
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 \"postUrl\": \"<string>\",\n \"companyId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"taskId": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Start importing the people who engaged with a LinkedIn post into a smart list.
Returns immediately with a background task ID; the scrape and import run
asynchronously. Poll GET /lists/{listId}/tasks until the task reaches a
terminal status — its result holds imported and the post summary
(authorName, likesCount, commentsCount).
Scrapes the post’s commenters and likers and adds each person to the list as a lead row (firstName, lastName, linkedinUrl, headline, positionTitle, companyName, plus engagementType, commentText, sourcePostUrl and postAuthor). Someone who both commented and liked is recorded once with engagementType “commented_and_liked”.
People already on the list are matched on linkedinUrl and enriched in place — only their empty fields are filled — so re-importing the same post does not create duplicates.
postUrl must be a linkedin.com/posts/… or linkedin.com/feed/update/… URL;
query parameters are stripped.
curl --request POST \
--url https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"postUrl": "<string>",
"companyId": "<string>"
}
'import requests
url = "https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post"
payload = {
"postUrl": "<string>",
"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({postUrl: '<string>', companyId: '<string>'})
};
fetch('https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post', 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/lists/{listId}/import/linkedin-post",
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([
'postUrl' => '<string>',
'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/lists/{listId}/import/linkedin-post"
payload := strings.NewReader("{\n \"postUrl\": \"<string>\",\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/lists/{listId}/import/linkedin-post")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"postUrl\": \"<string>\",\n \"companyId\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.parallellabs.app/api/v0/lists/{listId}/import/linkedin-post")
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 \"postUrl\": \"<string>\",\n \"companyId\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"status": "<string>",
"taskId": "<string>",
"message": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.
Path Parameters
Body
LinkedIn post to import engagers from
Request body for importing a LinkedIn post's engagers into a smart list. Scrapes the post's commenters and likers and adds each person as a lead row (firstName, lastName, linkedinUrl, headline, engagementType, commentText, …). People already on the list — matched on linkedinUrl — are enriched in place rather than duplicated. Returns immediately with a background task ID; the scrape and import run asynchronously and can take a minute or two on a busy post. Costs 10 credits per call.
Full URL of the LinkedIn post. Must be a linkedin.com/posts/… or linkedin.com/feed/update/… URL; query parameters are stripped 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
Import started in the background — poll the task for progress
Acknowledgement that a LinkedIn post import started in the background. Poll the background task by taskId until it reaches a terminal status; the completed task's result holds imported (rows inserted or enriched) and a postData summary (authorName, likesCount, commentsCount).

