Kicks off a paginated import from a LinkedIn / Sales Navigator search
against the connected accountId. Returns immediately — the worker
picks the job up on its next cron tick (within 1 minute).
Provide either:
url: a copied LinkedIn search URL (classic or Sales Navigator), orparams: a structured filter blob ({ api, category, keywords, ... }).
Imported leads land in listId if provided; otherwise a new list is
auto-created and returned in the response. With campaignId instead,
they land in that campaign's own list (created if it doesn't exist yet)
and are enrolled in the campaign page by page, subject to its
exclusion rules.
Authorization
bearerAuth An API key created under Settings → API & Webhooks.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/lead-imports" \ -H "Content-Type: application/json" \ -d '{ "accountId": "string" }'{ "data": { "id": "string", "name": "string", "linkedinAccountId": "string", "status": "pending", "input": { "mode": "url", "url": "string", "params": {} }, "destination": { "listId": "string", "listAutoCreated": true }, "tags": [ "string" ], "maxLeads": 0, "progress": { "fetchedPages": 0, "fetchedItems": 0, "importedLeads": 0, "skippedItems": 0, "totalCount": 0 }, "nextPageAt": "2019-08-24T14:15:22Z", "error": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "completedAt": "2019-08-24T14:15:22Z" }}