Authorization
bearerAuth An API key created under Settings → API & Webhooks.
In: header
Path Parameters
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/lead-imports/string/cancel"{ "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" }}Send a message in a chat POST
Sends as the chat's sender account, or from the mailbox on an email chat (a reply in the same thread, to the address that last wrote). Email chats take `text` only for now: `attachments` or a `voiceMessage` on one is a `400`.
Start a LinkedIn search import POST
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), or - `params`: 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.