LinkedIn API endpoints, one outreach engine.
Every LinkedIn action Swarmhit runs is an endpoint your product can call directly, and a step the sequencer can schedule, rotate across senders and stop on reply. Each runs through LinkedIn accounts your users connect, behind daily caps and 250+ safeguards monitored 24/7.
POST /accounts/{id}/messages
LinkedIn DM API
Send LinkedIn messages from code: one POST per message, or a step in a sequence with variants, attachments and reply detection. Per-sender caps built in.
Send a messagePOST /accounts/{id}/connections
LinkedIn connection request API
Send LinkedIn connection requests from code, with or without a note, check status and withdraw stale invites. Weekly and daily caps enforced for you.
Send a connection requestPOST /accounts/{id}/inmails
LinkedIn InMail API
Send LinkedIn InMails to non-connections from code, with subject, credits and open-profile handling. Daily caps and clear errors when credits run out.
Send an InMailPOST /accounts/{id}/profile-views
LinkedIn profile view API
Register real LinkedIn profile views from code to warm leads before an invite, or look profiles up silently. Daily view caps per sender, on the server.
Visit a profilePOST /accounts/{id}/follows
LinkedIn follow API
Follow LinkedIn profiles from code to see their posts without sending a connection request. A light touch for sequences, with a daily cap per sender.
Follow a profilePOST /accounts/{id}/post-likes
LinkedIn like post API
Like a lead's latest LinkedIn post from code, as a direct action or a sequence step. Clear 422 when there is no recent post, and a daily cap per sender.
Like a postPOST /accounts/{id}/post-comments
LinkedIn comment API
Comment on a lead's latest LinkedIn post from code, or let AI write the comment from the post itself with a human approval queue. Daily caps per sender.
Comment on a postPOST /inbox/chats/{id}/messages
LinkedIn voice message API
Send LinkedIn voice notes from code: a recorded note in a conversation, or AI voice notes per lead from a script, in your voice or ours, with approval.
Send a voice notePOST /lead-imports
LinkedIn search API
Turn a LinkedIn or Sales Navigator search into leads with one API call: paste the search URL or send filters, then route them into a list or a campaign.
Import a LinkedIn searchGET /inbox/chats
LinkedIn inbox API
Read LinkedIn conversations and reply from code: list chats, send text, files or voice notes, and pause or stop the lead's sequence in the same call.
Read and replyPOST /webhooks
LinkedIn webhooks
Get LinkedIn events as they happen: replies, accepted invites, imports, AI drafts and account status, signed with HMAC-SHA256 and retried with backoff.
Receive webhooksDirect actions or campaign steps
Call an endpoint when your product decides the moment: a user clicks Connect in your CRM, an AI agent chooses to follow up. Use campaigns when the timing is the hard part: one POST /campaigns describes the whole sequence, and the engine schedules each step inside the sending window, rotates leads across senders, retries what failed and stops the sequence when the lead replies.
The same safety on every call
Every send takes an Idempotency-Key, so a retry replays the first answer instead of acting twice. Every sender has daily caps per action and a weekly connection-request cap, enforced on the server, and a limit reached returns a 429 with the limit, the count used and, for daily and weekly caps, the reset time. Senders run on dedicated proxies with managed warmup and health checks, through LinkedIn accounts your users own and connect.
Built for products and AI agents
Swarmhit is the Smart API for outreach: LinkedIn today, cold email in beta, in the same campaigns. Read the LinkedIn automation API overview, see how AI agents use the LinkedIn API, read the LinkedIn API guide on official versus account-based access, or compare the market in our LinkedIn API pricing guide.