Manage LinkedIn connections programmatically
Send connection requests with personalised notes, follow users, check relationship status, withdraw stale invitations and pull first-degree connections — all via one REST API with built-in rate-limit handling.
LinkedIn Connections API endpoints
Eight endpoints covering invitations, follows, relationship checks, network data and skill endorsements.
/connectSend Connection Request
Send a LinkedIn invitation to connect with an optional personalised note — the foundation of any outreach sequence.
View API docs →/invitations/withdrawWithdraw Invitation
Cancel a pending invitation — essential for cleaning up stale outbound requests and keeping accounts healthy.
View API docs →/followFollow User
Follow a LinkedIn user or creator without sending a connection request — useful for content engagement workflows.
View API docs →/relationship/:profileIdCheck Relationship
Return the current degree of connection (1st, 2nd, 3rd) between the account and any target profile.
View API docs →/relationship/:accountId/:profileIdCheck Relationship (Specific Account)
Same relationship check scoped to a particular connected account — useful for multi-account workspaces.
View API docs →/connectionsGet Connections
Paginated list of the account's first-degree connections with full profile metadata.
View API docs →/invitations/sentGet Sent Invitations
Track every pending, accepted and declined invitation the account has sent — monitor acceptance rates.
View API docs →/endorse/skillEndorse Skill
Endorse a first-degree connection's skill — a lightweight social touch that boosts reply rates before outreach.
View API docs →Send a connection request in one API call
Pass a profile ID, an optional personalised note and an account ID. The API handles rate limiting automatically.
curl -X POST https://api.connectsafely.ai/connect \
-H "Authorization: Bearer $CONNECTSAFELY_API_KEY" \
-H "X-Account-Id: $ACCOUNT_ID" \
-H "Content-Type: application/json" \
-d '{
"profileId": "satyanadella",
"note": "Hi Satya — loved your keynote."
}'What teams build with the Connections API
From automated outreach sequences to CRM relationship graphs and account health management.
Automated outreach sequences
Send connection requests with personalised notes as the first step of a multi-touch sales or recruiting sequence.
CRM relationship intelligence
Check degree-of-connection before suggesting warm intros. Map network overlap between team accounts and target prospects.
Account health management
Auto-withdraw stale invitations to keep accounts within LinkedIn's daily limits and avoid restrictions.
LinkedIn Connections API — frequently asked questions
- Can I send LinkedIn connection requests via API?
- Yes. The Connections API lets you send connection requests with optional personalised notes on behalf of any connected LinkedIn account. Each request is rate-limited to stay within LinkedIn's safe daily thresholds (typically 80-100 invitations per day).
- How do I check if two LinkedIn users are connected?
- Use the Check Relationship endpoint with a target profile ID. It returns the current connection degree (1st, 2nd, 3rd or out-of-network) between your connected account and the target — useful for routing outreach or suggesting warm intros in a CRM.
- Can I withdraw pending LinkedIn invitations programmatically?
- Yes. The Withdraw Invitation endpoint lets you cancel pending connection requests at scale. This is essential for account health — LinkedIn monitors pending invitation counts and may restrict accounts with too many unanswered requests.
Start automating LinkedIn connections today
Get an API key in under two minutes. Pay only for what you send. No LinkedIn Partner Program approval required.