Docs / Search
find_decision_makers
Find the people at one company by title, seniority and function, through a shared Sales Navigator seat.
This action can change or spend something, and when it does it happens right away. Read “Good to know” first. It is part of the Agent plan.
What you give it
| Input | What it is | Where to get it |
|---|---|---|
companyneeded | Text. Company name, e.g. "Stripe". Resolved to the LinkedIn company automatically. | You write it. |
titlesoptional | A list (text). Specific senior roles to target, e.g. ["VP of Sales","Head of Growth"]. Omit for the full decision-maker set (C-level/VP/Director/Founder). | You write it. |
senioritiesoptional | A list (text). Narrow by seniority level, e.g. ["CXO","VP","Director"] (owner/partner, cxo, vice_president, director, experienced_manager, entry_level_manager, strategic, senior, entry_level, in_training). | You write it. |
functionsoptional | A list (text). Narrow by job function/department, e.g. ["Sales","Marketing","Engineering"]. | You write it. |
locationsoptional | A list (text). Optional person locations to narrow to, e.g. ["United States"]. | You write it. |
limitoptional | A number, 1 to 100. Max people to return (1–100, default 15). | You write it. |
formatoptional | One of: table, csv. table (default) = rows for a table. csv = also return an export-ready CSV string. | You write it. |
confirmoptional | True or false. false (default) = cost estimate only. true = pull and charge after the user agreed. | You write it. |
Call it
curl -X POST https://api.heyreagent.com/v1/actions/find_decision_makers \
-H "Authorization: Bearer YOUR_KEY" \
-H "content-type: application/json" \
-d '{"company":"Stripe"}'The same call in JavaScript
const response = await fetch("https://api.heyreagent.com/v1/actions/find_decision_makers", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_KEY",
"content-type": "application/json",
},
body: JSON.stringify({
"company": "Stripe"
}),
});
const answer = await response.json();
console.log(answer);The same call in Python
import requests
response = requests.post(
"https://api.heyreagent.com/v1/actions/find_decision_makers",
headers={"Authorization": "Bearer YOUR_KEY"},
json={
"company": "Stripe",
},
)
print(response.json())The same call in n8n
Add an HTTP Request node and fill it in like this:
| Method | POST |
| URL | https://api.heyreagent.com/v1/actions/find_decision_makers |
| Send Headers | On. Name Authorization, Value Bearer YOUR_KEY |
| Send Body | On. Body Content Type JSON, Specify Body Using JSON, then paste the body below |
{
"company": "Stripe"
}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:
action | |
matchCount | |
estimatedCredits | |
creditsCharged | |
yourBalance | |
returned | |
leads |
A field that does not apply to an answer is left out, or is null.
When it did not work, the answer is { "ok": false, "error": "…", "message": "…" }. What each error means.
Good to know
- confirm false (the default) only previews: how many match and what it costs, no people. confirm true returns them and charges 0.02 credits a person.
- company is a NAME. A company id passed there is searched as words; to search by id use search_people_sales_navigator with companyIds.
- action is "preview", "blocked" or "results". leads, returned and creditsCharged are present only on "results". There is no next page.
What its answer goes into
get_profileGet a profileget_profile_detailsGet a profile in depthsend_invitationSend an invitationget_conversationGet a conversationsend_messageSend a messagesync_inboxRefresh the inboxstart_conversationStart a conversation (InMail, group, company)list_inmailList InMail conversationsget_recent_postsGet someone's recent postslist_posts_by_authorList a person's or company's postslist_comments_by_personList the comments a person wrotelist_reactions_by_personList what a person reacted tosave_leadSave a Sales Navigator lead
Guides that use it
- How to find companies that just raised money, and who to talk to there
- An AI SDR for LinkedIn that asks before it sends
- How to use LinkedIn Sales Navigator from your AI app
In Claude or ChatGPT
Once connected, ask in your own words. The assistant sees this action as a tool with the same name, find_decision_makers, and the same inputs.
More in Search
search_peopleSearch peoplesearch_postsSearch postssearch_linkedinSearch LinkedIn with any filterlookup_search_idsLook up the id for a search filtersearch_linkedin_peopleSearch people, every filter typedsearch_linkedin_companiesSearch companies, every filter typedsearch_linkedin_postsSearch posts, every filter typedsearch_linkedin_jobsSearch jobs, every filter typedsearch_linkedin_sales_navigator_peopleSearch people in my Sales Navigator, every filter typedsearch_linkedin_sales_navigator_companiesSearch companies in my Sales Navigator, every filter typedsearch_linkedin_recruiter_peopleSearch candidates in my Recruiter, every filter typedget_companyGet a company pagesearch_people_sales_navigatorSearch people (Sales Navigator)count_people_sales_navigatorCount people (Sales Navigator)search_companiesSearch companieslist_funding_signalsList recently funded companies