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.
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" }}