Import the results of a completed lead search into a brand-new list, with cross-list dedup and company extraction.
lead_search_results rows for the search (paginated at 1,000 per page).company_domain and inserts them into list_company_rows.list_rows, linking each to its company via company_row_id.409 with "All leads already exist in your lists".
POST /api/lists/{id}/add-search-results:status === "completed" — otherwise the call returns 400.result_count > 0 — otherwise 400.duplicateCount in the response tells you how many rows were skipped by cross-list dedup. If duplicateCount > insertedCount, politely flag this to the human — they probably meant to search a different cohort.No BrightData enrichment. Apify data is considered rich enough; if the caller needs deeper enrichment (emails, phones), add an enrichment column to the new list instead.Idempotency: unsafe. Retrying the same call after a successful 200 will create a second list with the same name and (because cross-list dedup now matches) insertedCount = 0, duplicateCount = resultCount. Inspect total / duplicateCount before retrying on a network error.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Lead search UUID. Must be owned by the caller and have status === "completed".
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Creates a new List and imports the search results into it. If you want to merge into an existing list, use POST /api/lists/{id}/add-search-results instead.
Display name for the new List. Must be non-empty.
1List created and populated.
Import summary. The new list is fully populated synchronously — no background task to poll.
The newly-created list.
People rows inserted after cross-list deduplication. May be less than search.result_count.
0 <= x <= 9007199254740991People filtered out because they already exist in another list owned by the caller (cross-list dedup — matches on LinkedIn URL, full name + company, or full name + location).
0 <= x <= 9007199254740991Unique companies extracted by company_domain and inserted into list_company_rows. Each person row is linked to its company via company_row_id.
0 <= x <= 9007199254740991