# search_linkedin_sales_navigator_people: Search people in my Sales Navigator, every filter typed

Search people in Sales Navigator on your own seat, with each Sales Navigator filter as its own typed input. This action only reads; it changes nothing. Plan: Free and Connect.

```
POST https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people
Authorization: Bearer YOUR_KEY
content-type: application/json

{
  "keywords": "head of sales"
}
```

## What you give it

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

## What you get back

- `returned`: number
- `nextCursor`: a cursor
- `results[].type`: PEOPLE
- `results[].id`: a Sales Navigator id
- `results[].publicIdentifier`: string or null
- `results[].publicProfileUrl`: a profile link
- `results[].profileUrl`: string or null
- `results[].profilePictureUrl`: string or null
- `results[].profilePictureUrlLarge`: string or null
- `results[].memberUrn`: string or null
- `results[].name`: string or null
- `results[].firstName`: string
- `results[].lastName`: string
- `results[].networkDistance`: SELF | DISTANCE_1 | DISTANCE_2 | DISTANCE_3 | OUT_OF_NETWORK
- `results[].location`: string or null
- `results[].industry`: string or null
- `results[].keywordsMatch`: string
- `results[].headline`: string
- `results[].connectionsCount`: number
- `results[].followersCount`: number
- `results[].pendingInvitation`: boolean
- `results[].canSendInmail`: boolean
- `results[].hiddenCandidate`: boolean
- `results[].interestLikelihood`: string
- `results[].recruiterCandidateId`: string
- `results[].recruiterPipelineCategory`: string
- `results[].premium`: boolean
- `results[].verified`: boolean
- `results[].sharedConnectionsCount`: number
- `results[].recentPostsCount`: number
- `results[].recentlyHired`: boolean
- `results[].mentionedInTheNews`: boolean
- `results[].interests`: string

## Good to know

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

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