---
title: "Search people in my Sales Navigator, every filter typed"
method: POST
path: "/v1/actions/search_linkedin_sales_navigator_people"
tags: ["Search"]
---

# Search people in my Sales Navigator, every filter typed

`POST /v1/actions/search_linkedin_sales_navigator_people`

## Request

- Base URL: `https://api.heyreagent.com`
- URL: `https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people`
- Auth: HTTP bearer

Search people in Sales Navigator on your own seat, with each Sales Navigator filter as its own typed input.

At most 100 rows per call: LinkedIn's page size for this search.

LinkedIn returns at most 2,500 rows for one search; narrow the filters to reach the rest.

Needs a Sales Navigator seat on your own LinkedIn account.

Look filter ids up with lookup_search_ids service SALES_NAVIGATOR: that input selects which product's list is searched.

networkDistance in a row is defined as DISTANCE_1 / DISTANCE_2 / DISTANCE_3 (a published sample row also shows OUT_OF_NETWORK), while a profile reports FIRST_DEGREE / SECOND_DEGREE / THIRD_DEGREE for the same thing: do not compare the two as text.

Docs: https://heyreagent.com/docs/actions/search_linkedin_sales_navigator_people

## Request body

- object
  - `keywords` string: Words to search for.
  - `lastViewedAt` number: With savedSearchId: only results newer than this moment (Unix time).
  - `savedSearchId` string: Run one of your saved searches; it replaces every other filter: an id from lookup_search_ids type SAVED_SEARCHES, service SALES_NAVIGATOR.
  - `recentSearchId` string: Run one of your recent searches again; it replaces every other filter: an id from lookup_search_ids type RECENT_SEARCHES, service SALES_NAVIGATOR.
  - `location` object: Places to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type REGION, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type REGION, service SALES_NAVIGATOR.
  - `locationByPostalCode` object: Postal codes to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type POSTAL_CODE, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type POSTAL_CODE, service SALES_NAVIGATOR.
    - `withinArea` number: Miles around the postal code.
  - `industry` object: Industries to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type SALES_INDUSTRY, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type SALES_INDUSTRY, service SALES_NAVIGATOR.
  - `firstName` string: First name.
  - `lastName` string: Last name.
  - `tenure` object[]: Years of experience, as LinkedIn's own bands, e.g. { min: 3, max: 5 }.
    - `min` unknown
    - `max` unknown
  - `groups` string[]: LinkedIn groups: ids from lookup_search_ids type GROUPS, service SALES_NAVIGATOR.
  - `school` object: Schools to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type SCHOOL, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type SCHOOL, service SALES_NAVIGATOR.
  - `profileLanguage` string[]: Profile languages, as two-letter codes such as "en".
  - `company` object: Current companies to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type COMPANY, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type COMPANY, service SALES_NAVIGATOR.
  - `companyHeadcount` object[]: Company sizes, as LinkedIn's own bands, e.g. { min: 51, max: 200 }.
    - `min` unknown
    - `max` unknown
  - `companyType` string[]: Company types.
  - `companyLocation` object: Company headquarters places to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type REGION, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type REGION, service SALES_NAVIGATOR.
  - `tenureAtCompany` object[]: Years in the current company, as LinkedIn's own bands.
    - `min` unknown
    - `max` unknown
  - `pastCompany` object: Past companies to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type COMPANY, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type COMPANY, service SALES_NAVIGATOR.
  - `function` object: Job functions to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type DEPARTMENT, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type DEPARTMENT, service SALES_NAVIGATOR.
  - `role` object: Current job titles to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type JOB_TITLE, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type JOB_TITLE, service SALES_NAVIGATOR.
  - `tenureAtRole` object[]: Years in the current position, as LinkedIn's own bands.
    - `min` unknown
    - `max` unknown
  - `seniority` object: Seniority levels to include and to leave out.
    - `include` string[]
    - `exclude` string[]
  - `pastRole` object: Past job titles to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type JOB_TITLE, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type JOB_TITLE, service SALES_NAVIGATOR.
  - `followingYourCompany` boolean: Only people who follow your company.
  - `viewedYourProfileRecently` boolean: Only people who viewed your profile recently.
  - `networkDistance` unknown[]: Connection degrees from you (1, 2, 3) or "GROUP" for people in your groups.
    - unknown
  - `connectionsOf` string[]: People whose connections to search: ids from lookup_search_ids type PEOPLE, service SALES_NAVIGATOR.
  - `pastColleague` boolean: Only past colleagues.
  - `sharedExperiences` boolean: Only people you share experiences with.
  - `changedJobs` boolean: Only people who changed jobs recently.
  - `postedOnLinkedin` boolean: Only people who posted on LinkedIn recently.
  - `mentionnedInNews` boolean: Only people mentioned in the news recently.
  - `persona` string[]: Your Sales Navigator personas: ids from lookup_search_ids type PERSONA, service SALES_NAVIGATOR.
  - `accountLists` object: Your account lists (an id, or "ALL") to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type ACCOUNT_LISTS, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type ACCOUNT_LISTS, service SALES_NAVIGATOR.
  - `leadLists` object: Your lead lists (an id, or "ALL") to include and to leave out.
    - `include` string[]: Ids from lookup_search_ids type LEAD_LISTS, service SALES_NAVIGATOR.
    - `exclude` string[]: Ids from lookup_search_ids type LEAD_LISTS, service SALES_NAVIGATOR.
  - `viewedProfileRecently` boolean: Only people whose profile you viewed recently.
  - `messagedRecently` boolean: Only people you messaged recently.
  - `includeSavedLeads` boolean: Include your saved leads.
  - `includeSavedAccounts` boolean: Include people at your saved accounts.
  - `limit` number: How many to return (1–100, default 10).
  - `cursor` string: nextCursor from the previous call, to get the next page. Keep the other arguments the same.
  - `connectionId` string: Which of your LinkedIn accounts to act from (its id from list_linkedin_accounts). Omit to use your first live one.

## Response `200`

It worked. Inside result: returned, nextCursor, results[].type, results[].id, results[].publicIdentifier, results[].publicProfileUrl, results[].profileUrl, results[].profilePictureUrl, results[].profilePictureUrlLarge, results[].memberUrn, results[].name, results[].firstName, results[].lastName, results[].networkDistance, results[].location, results[].industry, results[].keywordsMatch, results[].headline, results[].connectionsCount, results[].followersCount, results[].pendingInvitation, results[].canSendInmail, results[].hiddenCandidate, results[].interestLikelihood, results[].recruiterCandidateId, results[].recruiterPipelineCategory, results[].premium, results[].verified, results[].sharedConnectionsCount, results[].recentPostsCount, results[].recentlyHired, results[].mentionedInTheNews, results[].interests.

- Worked
  - `ok` true, required
  - `result` object, required: What was asked for. A field that does not apply is left out, or is null.

## Other responses

- `default`: It did not work. The message says why, in plain English.

---

[API](https://skmtc.dev/heyreagent/apis/heyreagent-api.md) · [All operations](https://skmtc.dev/heyreagent/apis/heyreagent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/heyreagent/apis/heyreagent-api/revisions/917360c5f841?raw)
