Source:
app/src/lib/api/import.ts (the endpoints) and
app/src/lib/jobs/people-import.ts (the work, a sibling of the LinkedIn CSV
import in app/src/lib/jobs/linkedin-csv-import.ts), called from
app/src/lib/api/v1.ts. These are the API’s own endpoints, not tools: Claude
and ChatGPT can’t reach them.Import people
connector is whose network the people are in: "self", your own, or a
connector id from GET /connectors.
A LinkedIn export is always one person’s own connections, and the same holds
here: filing a colleague’s contacts under you would credit every path through
them to the wrong person.
The answer comes at once, 202 Accepted, with the import’s id. The work runs
after it:
How far it got
queued, writing, folding
(bringing the people into People) and done:
done. failed says why in error;
send the batch again. An import still in flight that hasn’t moved for 15 minutes reads as
stalled: send the batch again too. Only keys created by the same person can
read an import.
What it does with each person
Each person is matched to the people already in that network:- by LinkedIn URL, then
- by email, onto someone with no other LinkedIn URL: a Google contact, say, who gains their LinkedIn profile this way.
skipped, by their place in people (from 0),
with the reason:
If nobody in
people can be imported, the answer is 400 with skipped
alongside, and nothing is queued.
Private people stay private
Someone you keep private in IntroLink, whether by their LinkedIn URL or by their email, or under any identity IntroLink has for them, is never written by an import: they are listed inskipped and left exactly as they were. As
everywhere in the API, no answer names anyone or carries an email address or a
LinkedIn URL: skipped gives a person’s place in your request, not who they
are.
Caps
Per key creator, across all their keys:
A batch over the day’s cap, or sent while another import is still running,
answers
429 with Retry-After. While one is running, the error carries its
id in import: wait until GET /v1/imports/{id} says done, then send the
next batch. The usual limit of 60 requests a minute per key applies too.