HeyReagent / LinkedIn API for messages
A LinkedIn API for messages, invitations and search
LinkedIn has an API for messaging, and you probably cannot use it: it is restricted to approved partners. HeyReagent is a plain API for your own LinkedIn account instead. One POST sends a message, another an invitation, another searches people. It is free to start, and it is not made by LinkedIn.
What LinkedIn's own API allows
- The Messages API page says: "Usage of this API is restricted to approved partners." It also says "member actions do not include an automated or scheduled event". LinkedIn's Messages API documentation.
- The Sales Navigator API page says: "We are not currently accepting new partners for access to the LinkedIn Sales Navigator API." LinkedIn's Sales Navigator documentation.
- The Job Posting API page says: "We are currently not accepting new partnerships for LinkedIn's Job Posting API." LinkedIn's Job Posting API documentation.
- None of these pages gives a price. Access comes with LinkedIn's approval and a signed API agreement.
One call
Sign in, connect your LinkedIn, and create a key under Menu, then Developers. This sends a message to a connection:
curl -X POST https://api.heyreagent.com/v1/actions/send_message \
-H "Authorization: Bearer YOUR_KEY" \
-H "content-type: application/json" \
-d '{"profileUrl":"PASTE_PROFILE_LINK_HERE","text":"Hello!"}'The same call in JavaScript
const response = await fetch("https://api.heyreagent.com/v1/actions/send_message", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_KEY",
"content-type": "application/json",
},
body: JSON.stringify({
"profileUrl": "PASTE_PROFILE_LINK_HERE",
"text": "Hello!"
}),
});
const answer = await response.json();
console.log(answer);The same call in Python
import requests
response = requests.post(
"https://api.heyreagent.com/v1/actions/send_message",
headers={"Authorization": "Bearer YOUR_KEY"},
json={
"profileUrl": "PASTE_PROFILE_LINK_HERE",
"text": "Hello!",
},
)
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/send_message |
| 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 |
{
"profileUrl": "PASTE_PROFILE_LINK_HERE",
"text": "Hello!"
}Every action is called the same way: a POST to https://api.heyreagent.com/v1/actions/ and its name, your key in the Authorization header, the inputs as JSON. The answer is { "ok": true, "result": { … } }, or { "ok": false, "error": "…", "message": "…" } with the reason in plain English.
What there is
97 actions. The ones most asked for:
send_messageSend one message to a 1st-degree connection, or into an existing conversation, now.send_invitationSend one connection invitation, now.list_conversationsList the conversations in the stored copy of your inbox, across your accounts.get_conversationRead your whole conversation with one person.search_peopleSearch people on ordinary LinkedIn by plain words, a place name and connection degree.get_profileRead one person's profile in short, with their recent posts and their company.create_postPublish one post, or repost one.list_connectionsList your 1st-degree connections.search_linkedin_sales_navigator_peopleSearch people in Sales Navigator on your own seat, with each Sales Navigator filter as its own typed input.create_job_postingCreate a job posting as a draft.
Every action, each with its inputs, an example call in four languages, and what comes back.
For your tools
| OpenAPI 3.1 | https://heyreagent.com/openapi.json, for anything that imports one. |
| For AI apps | https://heyreagent.com/llms-full.txt: the whole of the docs as one Markdown file, to paste into ChatGPT or Claude. llms.txt is the index. |
| MCP | The same actions as tools for Claude, ChatGPT, Cursor and n8n. The address. |
Limits
Each LinkedIn account has a daily limit for each kind of action, built in. Reading your conversations is not limited.
| What | A day |
|---|---|
| Invitations sent | 30 |
| Invitations accepted or declined | 100 |
| Invitations taken back | 100 |
| Messages sent | 100 |
| InMails sent | 40 |
| Messages edited, deleted or reacted to, and conversations deleted | 100 |
All the limits, and what each refusal means.
Questions
Does LinkedIn have an API?
Yes, and most of it is not open to everyone. Its Messages API page says usage is restricted to approved partners, and its Sales Navigator API page says LinkedIn is not currently accepting new partners.
Is there a LinkedIn API to send messages?
LinkedIn’s own is for approved partners, and its documentation says a message must be tied to a specific member action, not an automated or scheduled event. HeyReagent is a separate, independent API that sends on your own account: one POST to send_message.
How much does the LinkedIn API cost?
LinkedIn’s pages for its messaging, Sales Navigator and job posting APIs give no price: access comes with an approval and an API agreement. The Messages API page says usage is “restricted to approved partners, subject to limitations via API agreement”. HeyReagent has a free plan with every Connect action, and the Connect plan is $29.99 a month for each LinkedIn account.
Is it free?
There is a free plan with every Connect action, on which LinkedIn is disconnected after a while without use. The Connect plan, at $29.99 a month for each LinkedIn account, keeps it connected.
Is there a LinkedIn Sales Navigator API?
For partners, and LinkedIn is not taking new ones: “We are not currently accepting new partners for access to the LinkedIn Sales Navigator API.” If you have a Sales Navigator seat on your own account, HeyReagent’s search_linkedin_sales_navigator_people searches with its filters, up to 100 people a call.
Is there a LinkedIn API for job postings?
LinkedIn’s Job Posting API page says: “We are currently not accepting new partnerships for LinkedIn’s Job Posting API.” HeyReagent posts a job from your own account instead: create_job_posting writes a draft, publish_job_posting puts it live, and list_job_applicants and get_job_applicant_resume read who applied.
Is there an OpenAPI file?
Yes: https://heyreagent.com/openapi.json. The docs are also there as one Markdown file for AI apps: https://heyreagent.com/llms-full.txt.
Is this LinkedIn’s official API?
No. HeyReagent is not affiliated with, endorsed by, or sponsored by LinkedIn. It acts on your own account, and LinkedIn’s User Agreement does not allow automated activity, so LinkedIn can limit or restrict an account.
Start free
Sign in with your email, connect your own LinkedIn, and paste the address. No card. When you would rather it ran LinkedIn for you, that is the Agent plan.
HeyReagent is not affiliated with, endorsed by, or sponsored by LinkedIn. LinkedIn's own terms apply to your account. What this page says about other products was read on their own pages on 14 October 2026.
More guides
- How to find companies that just raised money, and who to talk to thereAsk your AI app which companies in your market recently raised funding, then find the founder or the head of the team you sell to at each one.
- How to use GPT-6.2 Astra for your LinkedInOpenAI's GPT-6.2 Astra is a new model in ChatGPT. Here is how it reaches your LinkedIn, what to ask it, and what OpenAI's post leaves open.
- How to read back every LinkedIn conversation with one personBefore a call or a reply, ask your AI app for everything you and one person said on LinkedIn: each conversation and message, in one place.
- How to use Gemini 4 Hydrogen for your LinkedIn inboxGoogle says Gemini 4 Hydrogen is a fast model for everyday agent work. Here is where it can reach your LinkedIn, and which LinkedIn jobs to give it.
- LinkedIn MCP serverOne address for Claude, ChatGPT, Cursor and n8n.
- Is there an official LinkedIn MCP?No. What LinkedIn does offer, and what else exists.
- LinkedIn AI agentAn agent on your own LinkedIn: what it does, and how you stay in charge.
- LinkedIn automationWhat LinkedIn’s rules say, and automation that asks before it sends.
- Connect Claude to LinkedInA LinkedIn connector for Claude and Claude Code.
- Connect ChatGPT to LinkedInYour own LinkedIn inside ChatGPT.
- Connect Meta Muse to LinkedInYour own LinkedIn in Muse, as a custom connector.
- LinkedIn in n8nMessages, invitations and search in an n8n workflow.
- LinkedIn automation tools on RedditWhat the tool lists say, what they leave out, and how to judge one.
- Restricted after automation: what Reddit saysWhat posters had done, what replies blamed, what stays unknown.
- LinkedIn MCP on RedditWhat people ask, and five things to check before connecting one.
- LinkedIn text formatterBold, italic and bullets for a post, with a preview of the feed.
- LinkedIn banner resizerAny picture at 1584 × 396, framed and ready to upload.
- LinkedIn QR codeA code for your profile link, to print or put on a slide.
- Dripify alternativeAn agent that answers, beside a tool that sends sequences.
- Expandi alternativeFewer messages, each one written for the person.
- HeyReach alternativeOne account done well, beside many at scale.
- Valley alternativeTwo close products, and where they differ.
- Gojiberry alternativeTwo close products, and where they differ.
- Waalaxy alternativeAn agent that answers, beside campaigns from €19 a user.
- Dux-Soup alternativeAn agent in the cloud, beside drip campaigns on your machine.
- Linked Helper alternativeAn agent in the cloud, beside desktop software.