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

InputWhat it isWhere to get it
company
needed
Text. Company name, e.g. "Stripe". Resolved to the LinkedIn company automatically.You write it.
titles
optional
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.
seniorities
optional
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.
functions
optional
A list (text). Narrow by job function/department, e.g. ["Sales","Marketing","Engineering"].You write it.
locations
optional
A list (text). Optional person locations to narrow to, e.g. ["United States"].You write it.
limit
optional
A number, 1 to 100. Max people to return (1–100, default 15).You write it.
format
optional
One of: table, csv. table (default) = rows for a table. csv = also return an export-ready CSV string.You write it.
confirm
optional
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:

MethodPOST
URLhttps://api.heyreagent.com/v1/actions/find_decision_makers
Send HeadersOn. Name Authorization, Value Bearer YOUR_KEY
Send BodyOn. 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

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.