Run a LinkedIn people search through a connected Unipile account. Cursor-paginated.
classic search and sales_navigator search based on the account’s has_sales_navigator flag. Sales Navigator exposes richer filters (seniority, tenure, headcount, function); classic silently drops them.
Pagination is cursor-based: call again with the returned cursor until it comes back as null. Each result item carries a provider_id that feeds directly into connection-request and message sends — no second lookup needed.
unipile_accounts with status: "connected". If status is disconnected or credentials_required, run reconnectUnipileAccount first.Page size. Default is Unipile’s default (roughly 10). Max is 50 on classic, 100 on Sales Navigator. Agents doing bulk enrichment typically request the max.Sales Navigator filters are ignored on classic accounts. You can send seniorityLevel, companyHeadcount, etc. safely — the server drops them when api === "classic". Check the api field in the response to confirm which surface ran.Chains with: prospect imports (feed provider_id into your own list-building flow), LinkedIn campaign creation.Rate caution. Unipile throttles aggressive scraping. For large harvests, prefer a sequence of smaller paged calls over tight loops — the provider.fetch layer surfaces 429s as thrown errors.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Only accountId is required. The server picks classic vs. sales_navigator automatically based on the account's has_sales_navigator flag — Sales Navigator-only filters are silently ignored on classic accounts.
Supabase UUID of the unipile_accounts row whose LinkedIn session executes the search. Must be owned by the caller and in status: connected.
^([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)$Free-text keywords. Same semantics as LinkedIn's search bar.
Results per page. Max 50 on classic, 100 on Sales Navigator. Defaults to Unipile's default (typically 10).
0 < x <= 9007199254740991Opaque pagination cursor returned from a prior response. Omit for the first page.
LinkedIn company URNs or names for current employer.
LinkedIn company URNs or names for past employer.
LinkedIn geo URNs.
LinkedIn industry URNs.
LinkedIn school URNs or names.
Substring match against current job title.
Sales Navigator only. LinkedIn seniority enum values (e.g. manager, director, vp).
Sales Navigator only. LinkedIn tenure bucket.
Sales Navigator only. LinkedIn tenure bucket.
Sales Navigator only. LinkedIn headcount buckets (e.g. 10001+).
Sales Navigator only. LinkedIn function codes (e.g. engineering, sales).
One page of LinkedIn search results.
Page of LinkedIn people matching the query.
Opaque cursor for the next page, or null when there are no further results. Pass back as cursor on the next call.
Which LinkedIn search surface the server used. Determined by the account's entitlements.
classic, sales_navigator