EN
Developer guide

The Benefits of LinkedIn Cloud Connection

Let your users connect their LinkedIn account once, then work from your product while the connection runs in the cloud. No browser to keep open, no extension to maintain.

Your App · Connected accounts 3 accounts live
LinkedInLinkedInConnected through Hosted Auth
MRMaya RuizAccount Executive · Sales Navigatorrunning
TOTom OkaforTalent Partner · Recruiterrunning
ISInes SilvaFounder · Classicrunning
POSTauth/link GETaccounts/{id} 200 OK
Short answer

A LinkedIn cloud connection links a user's own LinkedIn account to a server-side API instead of a browser. The user signs in once through a hosted screen, and your product reads and sends messages, invitations and profile views on behalf of that authenticated user, even when their laptop is closed.

It is the model behind the Unipile LinkedIn API: one connection per user, the same routes for every account type, and webhooks when something changes.

How it works

How a LinkedIn Cloud Connection Works

Three moves, from the user's click to the first API call.

1The user connects

Your app opens a Hosted Auth link. The user signs in to LinkedIn, 2FA included, on a screen you can brand.

2The session lives in the cloud

Unipile keeps the connection on its servers, behind a stable proxy, and reports its status.

3Your app calls the API

You get an account ID, call the routes with it and receive webhooks for new messages and status changes.

Comparison

Cloud Connection vs Chrome Extension

Both let a product act on behalf of a LinkedIn user. Where the session lives changes everything else.

CriteriaChrome extensionCloud connection (Unipile)
AvailabilityOnly while the browser is openAround the clock, laptop closed
Where it runsOn each user's computerOn a server, through one API
NetworkThe user's changing Wi-Fi and IPA stable proxy, set once
MaintenanceAn extension to ship and updateRoutes and webhooks, nothing to install
Multiple accountsOne browser profile per accountOne account ID per user
Availability
Chrome extensionOnly while the browser is open
Cloud connection (Unipile)Around the clock, laptop closed
Where it runs
Chrome extensionOn each user's computer
Cloud connection (Unipile)On a server, through one API
Network
Chrome extensionThe user's changing Wi-Fi and IP
Cloud connection (Unipile)A stable proxy, set once
Maintenance
Chrome extensionAn extension to ship and update
Cloud connection (Unipile)Routes and webhooks, nothing to install
Multiple accounts
Chrome extensionOne browser profile per account
Cloud connection (Unipile)One account ID per user
Use cases

What Teams Build on a LinkedIn Cloud Connection

Four products that work from their users' connected accounts.

CRM · Contact
SNSofia NilssonCFO, Brightline Logistics

Replied to your message on LinkedInSynced 2 min ago

Connected with your repInvitation accepted yesterday

CRM sync

Every LinkedIn conversation lands on the right contact record, with no copy and paste.

The whole team sees the same history.

ATS · Senior SRE2 replies
AKAmir KhanReplied · interview next weekreplied
LMLucia MarinInMail sent · waitingsent
JPJonas PetersProfile viewed · not contacted yetnew

Recruiting

Recruiters message candidates from the ATS, with Classic or Recruiter seats.

No tab switching between ATS and LinkedIn.

Sales inbox2 new
New reply from Daniel OseiHead of RevOps · 4 min agoReply
Elena Petrova accepted your invitationVP Sales Ops · todayNew

Sales engagement

Reps follow up on LinkedIn from the same inbox as email and WhatsApp.

One inbox for every channel.

AI assistantDraft
Reply drafted for Daniel OseiWaiting for your approvalReview
Meeting proposed for ThursdayFrom the LinkedIn threadNew

AI agents

An assistant reads the user's LinkedIn inbox and drafts replies that the user approves.

The user stays in control of every message.

Step by step

How to Connect a LinkedIn Account in the Cloud

Hosted Auth handles the sign-in screens, 2FA and checkpoints. Your backend only creates the link and stores the account ID.

  • Create a link. POST /v2/auth/link with providers: "linkedin", an expires_on date and your redirect_uri.
  • Redirect the user. They sign in on the hosted screen, with credentials or the UniLogin extension, which only runs during the connection.
  • Store the account ID. The redirect carries account_id, and the account.add webhook confirms it. Check it with GET /v2/accounts/{account_id}.
  • Watch the status. running means ready. A disconnected account is reconnected with a new link that passes its account_id.

For a walkthrough of Hosted Auth when a team connects several LinkedIn accounts, see this third-party setup guide by NextGen Profiles.

LinkedInConnected accounts
MRMaya RuizSales Navigator · since Marchrunning
TOTom OkaforRecruiter · password changeddisconnected
GETaccounts/{account_id}200 OK
// Create a Hosted Auth link for LinkedIn
const res = await fetch("https://api.unipile.com/v2/auth/link", {
  method: "POST",
  headers: { "X-API-KEY": process.env.UNIPILE_API_KEY, "content-type": "application/json" },
  body: JSON.stringify({
    providers: "linkedin",
    expires_on: new Date(Date.now() + 10 * 60 * 1000).toISOString(),
    redirect_uri: "https://yourapp.com/linkedin/callback"
  })
});
const { data } = await res.json();
// Send the user to the hosted sign-in screen
res.redirect(data.link);
import os, requests
from datetime import datetime, timedelta, timezone

# Create a Hosted Auth link for LinkedIn
expires = (datetime.now(timezone.utc) + timedelta(minutes=10)).isoformat()
data = requests.post("https://api.unipile.com/v2/auth/link",
    headers={"X-API-KEY": os.environ["UNIPILE_API_KEY"]},
    json={"providers": "linkedin", "expires_on": expires,
          "redirect_uri": "https://yourapp.com/linkedin/callback"}).json()["data"]
# Send the user to the hosted sign-in screen
link = data["link"]
# Create a Hosted Auth link for LinkedIn
curl --request POST \
  --url "https://api.unipile.com/v2/auth/link" \
  --header "X-API-KEY: {YOUR_API_KEY}" \
  --header "content-type: application/json" \
  --data '{ "providers": "linkedin", "expires_on": "2027-01-01T00:00:00.000Z", "redirect_uri": "https://yourapp.com/linkedin/callback" }'
→ redirect_uri?account_id=acc_…&provider=linkedin
Account types

Classic, Sales Navigator and Recruiter

One connection covers the LinkedIn products the user already pays for. Your app reads which ones are live.

Classic

Messages, invitations, profiles, posts and people search, as on linkedin.com.

Sales Navigator

Lead and account search, lead lists and InMail credits, through /linkedin/sales-navigator routes.

Recruiter

Candidate search, projects and pipelines, with the contract picked through /linkedin/contracts.

Coverage

What You Can Do Once the Account Is Connected

Every route acts as the connected member, within what that member can do on linkedin.com.

All paths under https://api.unipile.com/v2/{account_id}
GET/chatsList conversations, newest first.
POST/chats/sendStart a conversation, or an InMail where the seat allows it.
POST/chats/{chat_id}/messages/sendReply in an existing conversation.
GET/users/{user_id}Retrieve a profile the member can view.
GET/users/me/relation-requestsInvitations the member sent or received.
GET/linkedin/inmail-creditsInMail credits left on the seat.
Good practice

Security, Limits and Compliance

A cloud connection does not change what the account is allowed to do. It changes where the session runs.

User consent

The member connects their own account and can disconnect it at any time.

Stable network

A dedicated proxy keeps the connection on one IP, instead of a new Wi-Fi each day.

Reasonable pace

Keep the volume of a person, not of a script. LinkedIn's limits still apply.

Status alerts

Webhooks warn your app when an account needs to reconnect.

Data handling

Every call runs on behalf of the authenticated user, with the conversations and profiles that user can already see on linkedin.com.

How Unipile operates

Unipile is an independent technical intermediary. It is not affiliated with, endorsed by, or sponsored by LinkedIn.

Platform limits

Who to contact, what to send and how often is a customer-side decision, made within LinkedIn's User Agreement.

Product behavior from the Unipile Hosted Auth and account status documentation. Last verified: November 27, 2026.

Connect your users' LinkedIn accounts

Create a Hosted Auth link, store the account ID and start reading and sending messages from your product. The same flow connects WhatsApp, email and calendars.

Every LinkedIn feature in one guide

See the complete LinkedIn API integration guide for messaging, invitations, profiles, posts and search.

LinkedIn Cloud Connection FAQ

Quick answers on connecting LinkedIn accounts to the cloud.

It links a user's own LinkedIn account to a server-side API instead of a browser. The user signs in once through Hosted Auth, and your product reads and sends messages on behalf of that authenticated user while the session runs on Unipile's servers.

For a product, usually yes: it works when the user's browser is closed, runs on a stable network and leaves nothing to install. The account keeps the same rights and the same LinkedIn limits in both cases.

Classic, Sales Navigator and Recruiter, depending on the subscriptions of the user. One connection covers the products the account already has.

Its status turns to disconnected and the account.status.disconnected webhook is sent. Create a new Hosted Auth link with its account_id so the user signs in again: the account ID does not change.

No. Unipile is not affiliated with, endorsed by, or sponsored by LinkedIn. It is an independent technical intermediary: every call runs on behalf of the authenticated member who connected their own LinkedIn account.

Still have questions? Our team is here to help.

Talk to an expert