Docs / Search

search_linkedin_sales_navigator_people

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, so it is safe to try.

What you give it

InputWhat it isWhere to get it
keywords
optional
Text. Words to search for.You write it.
lastViewedAt
optional
A number. With savedSearchId: only results newer than this moment (Unix time).You write it.
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.run lookup_search_ids with type SAVED_SEARCHES, and use matches[].id from its answer.
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.run lookup_search_ids with type RECENT_SEARCHES, and use matches[].id from its answer.
location
optional
A search filter id. Places to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type REGION, and use matches[].id from its answer.exclude: run lookup_search_ids with type REGION, and use matches[].id from its answer.
locationByPostalCode
optional
A search filter id. Postal codes to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type POSTAL_CODE, and use matches[].id from its answer.exclude: run lookup_search_ids with type POSTAL_CODE, and use matches[].id from its answer.
industry
optional
A search filter id. Industries to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type SALES_INDUSTRY, and use matches[].id from its answer.exclude: run lookup_search_ids with type SALES_INDUSTRY, and use matches[].id from its answer.
firstName
optional
Text. First name.You write it.
lastName
optional
Text. Last name.You write it.
tenure
optional
A list (a group of fields). Years of experience, as LinkedIn's own bands, e.g. { min: 3, max: 5 }.
What goes inside
  • min (optional): one of: 0, 1, 3, 6, 10.
  • max (optional): one of: 1, 2, 5, 10.
You write it.
groups
optional
A search filter id. LinkedIn groups: ids from lookup_search_ids type GROUPS, service SALES_NAVIGATOR.run lookup_search_ids with type GROUPS, and use matches[].id from its answer.
school
optional
A search filter id. Schools to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type SCHOOL, and use matches[].id from its answer.exclude: run lookup_search_ids with type SCHOOL, and use matches[].id from its answer.
profileLanguage
optional
A list (text, up to 2 characters). Profile languages, as two-letter codes such as "en".You write it.
company
optional
A search filter id. Current companies to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type COMPANY, and use matches[].id from its answer.exclude: run lookup_search_ids with type COMPANY, and use matches[].id from its answer.
companyHeadcount
optional
A list (a group of fields). Company sizes, as LinkedIn's own bands, e.g. { min: 51, max: 200 }.
What goes inside
  • min (optional): one of: 1, 11, 51, 201, 501, 1001, 5001, 10001.
  • max (optional): one of: 1, 10, 50, 200, 500, 1000, 5000, 10000.
You write it.
companyType
optional
A list (one of: public_company, privately_held, non_profit, educational_institution, partnership, self_employed, self_owned, government_agency). Company types.You write it.
companyLocation
optional
A search filter id. Company headquarters places to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type REGION, and use matches[].id from its answer.exclude: run lookup_search_ids with type REGION, and use matches[].id from its answer.
tenureAtCompany
optional
A list (a group of fields). Years in the current company, as LinkedIn's own bands.
What goes inside
  • min (optional): one of: 0, 1, 3, 6, 10.
  • max (optional): one of: 1, 2, 5, 10.
You write it.
pastCompany
optional
A search filter id. Past companies to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type COMPANY, and use matches[].id from its answer.exclude: run lookup_search_ids with type COMPANY, and use matches[].id from its answer.
function
optional
A search filter id. Job functions to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type DEPARTMENT, and use matches[].id from its answer.exclude: run lookup_search_ids with type DEPARTMENT, and use matches[].id from its answer.
role
optional
A search filter id. Current job titles to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type JOB_TITLE, and use matches[].id from its answer.exclude: run lookup_search_ids with type JOB_TITLE, and use matches[].id from its answer.
tenureAtRole
optional
A list (a group of fields). Years in the current position, as LinkedIn's own bands.
What goes inside
  • min (optional): one of: 0, 1, 3, 6, 10.
  • max (optional): one of: 1, 2, 5, 10.
You write it.
seniority
optional
A group of fields. Seniority levels to include and to leave out.
What goes inside
  • 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).
You write it.
pastRole
optional
A search filter id. Past job titles to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type JOB_TITLE, and use matches[].id from its answer.exclude: run lookup_search_ids with type JOB_TITLE, and use matches[].id from its answer.
followingYourCompany
optional
True or false. Only people who follow your company.You write it.
viewedYourProfileRecently
optional
True or false. Only people who viewed your profile recently.You write it.
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.You write it.
connectionsOf
optional
A search filter id. People whose connections to search: ids from lookup_search_ids type PEOPLE, service SALES_NAVIGATOR.run lookup_search_ids with type PEOPLE, and use matches[].id from its answer.
pastColleague
optional
True or false. Only past colleagues.You write it.
sharedExperiences
optional
True or false. Only people you share experiences with.You write it.
changedJobs
optional
True or false. Only people who changed jobs recently.You write it.
postedOnLinkedin
optional
True or false. Only people who posted on LinkedIn recently.You write it.
mentionnedInNews
optional
True or false. Only people mentioned in the news recently.You write it.
persona
optional
A search filter id. Your Sales Navigator personas: ids from lookup_search_ids type PERSONA, service SALES_NAVIGATOR.run lookup_search_ids with type PERSONA, and use matches[].id from its answer.
accountLists
optional
A search filter id. Your account lists (an id, or "ALL") to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type ACCOUNT_LISTS, and use matches[].id from its answer.exclude: run lookup_search_ids with type ACCOUNT_LISTS, and use matches[].id from its answer.
leadLists
optional
A search filter id. Your lead lists (an id, or "ALL") to include and to leave out.
What goes inside
  • 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.
include: run lookup_search_ids with type LEAD_LISTS, and use matches[].id from its answer.exclude: run lookup_search_ids with type LEAD_LISTS, and use matches[].id from its answer.
viewedProfileRecently
optional
True or false. Only people whose profile you viewed recently.You write it.
messagedRecently
optional
True or false. Only people you messaged recently.You write it.
includeSavedLeads
optional
True or false. Include your saved leads.You write it.
includeSavedAccounts
optional
True or false. Include people at your saved accounts.You write it.
limit
optional
A number, 1 to 100. How many to return (1–100, default 10).You write it.
cursor
optional
A cursor. nextCursor from the previous call, to get the next page. Keep the other arguments the same.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.Run list_linkedin_accounts and use accounts[].id from its answer.
15 more places to get it

Call it

curl -X POST https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "content-type: application/json" \
  -d '{"keywords":"head of sales"}'
The same call in JavaScript
const response = await fetch("https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_KEY",
    "content-type": "application/json",
  },
  body: JSON.stringify({
    "keywords": "head of sales"
  }),
});
const answer = await response.json();
console.log(answer);
The same call in Python
import requests

response = requests.post(
    "https://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={
        "keywords": "head of sales",
    },
)
print(response.json())
The same call in n8n

Add an HTTP Request node and fill it in like this:

MethodPOST
URLhttps://api.heyreagent.com/v1/actions/search_linkedin_sales_navigator_people
Send HeadersOn. Name Authorization, Value Bearer YOUR_KEY
Send BodyOn. Body Content Type JSON, Specify Body Using JSON, then paste the body below
{
  "keywords": "head of sales"
}

Put your own key where it says YOUR_KEY. New here? Start with your first call.

What you get back

When it worked, the answer is { "ok": true, "result": { … } }. Inside result:

returnednumber
nextCursorA cursor. Other actions take it.
results[].typePEOPLE
results[].idA Sales Navigator id. Other actions take it.
results[].publicIdentifierstring or null
results[].publicProfileUrlA profile link. Other actions take it.
results[].profileUrlstring or null
results[].profilePictureUrlstring or null
results[].profilePictureUrlLargestring or null
results[].memberUrnstring or null
results[].namestring or null
results[].firstNamestring
results[].lastNamestring
results[].networkDistanceSELF | DISTANCE_1 | DISTANCE_2 | DISTANCE_3 | OUT_OF_NETWORK
results[].locationstring or null
results[].industrystring or null
results[].keywordsMatchstring
results[].headlinestring
results[].connectionsCountnumber
results[].followersCountnumber
results[].pendingInvitationboolean
results[].canSendInmailboolean
results[].hiddenCandidateboolean
results[].interestLikelihoodstring
results[].recruiterCandidateIdstring
results[].recruiterPipelineCategorystring
results[].premiumboolean
results[].verifiedboolean
results[].sharedConnectionsCountnumber
results[].recentPostsCountnumber
results[].recentlyHiredboolean
results[].mentionedInTheNewsboolean
results[].interestsstring

A field that does not apply to an answer is left out, or is null. There are 82 more fields nested inside these.

When it did not work, the answer is { "ok": false, "error": "…", "message": "…" }. What each error means.

Good to know

In Claude or ChatGPT

Once connected, ask in your own words. The assistant sees this action as a tool with the same name, search_linkedin_sales_navigator_people, and the same inputs.