Skip to main content
POST
Create a new list
name and companies are required, and each company needs at least a name. Adding a domain, country_code or linkedin_url improves the match. By default (live: true) the list is also created in LinkedIn Sales Navigator, which needs valid LinkedIn credentials on your account; otherwise the request fails with 422. Send live: false to match the companies against the Pipecorn database only. The response returns the list right away with status: "NOT_STARTED". Poll Retrieve a List or pass a webhook_url (http or https) to be notified when the import is finished.

Authorizations

X-API-KEY
string
header
required

Your API key

Headers

Idempotency-Key
string

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: 255
Example:

"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"

Body

application/json
name
string
required

Name of the list

Example:

"Tech Companies 2024"

companies
object[]
required
Minimum array length: 1
Example:
webhook_url
string<uri>

http(s) URL notified when the list import is complete

Example:

"https://your-company.com/webhooks/lists"

live
boolean
default:true

true (default) also creates or updates a LinkedIn Sales Navigator list, which requires valid LinkedIn credentials on your account. false matches the companies against the Pipecorn database only, without touching LinkedIn

Response

List created

name
string

Name of the list

Example:

"Tech Companies 2024"

id
string<uuid>

UUID of the list

Example:

"8e1dcba0-f0bb-4071-99fc-f18ba6559ccc"

linkedin_id
string

ID of the LinkedIn Sales Navigator list, as a string. Empty when the list was created with live: false

Example:

"7123456789012345678"

type
enum<string>

What the list contains

Available options:
companies,
leads
Example:

"companies"

status
enum<string>

Status of the list import

Available options:
NOT_STARTED,
ONGOING,
FINISHED,
ERROR,
NOT_ENOUGH_CREDITS,
FORBIDDEN,
LIMIT_REACHED,
UNAUTHORIZED,
SCHEDULED
Example:

"FINISHED"

companies_requested_count
integer

Number of companies submitted, or for a list built by POST /accounts/search, the number of companies the search imports (company lists only)

Example:

2

companies_found_count
integer

Number of companies matched so far (company lists only)

Example:

1

companies_not_found
string[]

Names of the submitted companies that could not be matched, lowercased and trimmed (not the objects you submitted). Empty until the list is FINISHED (company lists only)

Example:
created_at
string<date-time>
Example:

"2024-01-01T00:00:00Z"

updated_at
string<date-time>
Example:

"2024-01-02T00:00:00Z"

companies
object[] | null

Matched companies. null for lead lists. Fields the source has no value for are null