Facebook Pixel
APILinkedIn User

LinkedIn User API

Manage your LinkedIn network - connections, invitations, and profile data.

LinkedIn User API

Access and manage your LinkedIn network data. View your connections, track pending invitations, and manage your professional relationships.

Capabilities

  • Connections: Retrieve your full list of LinkedIn connections with profile details
  • Sent Invitations: Track pending connection requests you've sent
  • Organizations: Access company pages you manage with admin or posting access
  • Profile Visitors: See who viewed your LinkedIn profile with timestamps

Endpoints

Click on any endpoint below to view detailed documentation, parameters, example requests, and try it live.

Get Connections →

GET /linkedin/connections

Retrieve your LinkedIn connections list with pagination. Returns connection details including name, headline, vanity name, and connected date.


Get Sent Invitations →

GET /linkedin/invitations/sent

Retrieve sent connection invitations from LinkedIn. Returns pending invitations with profile information, timestamps, and invitation IDs.


Get Organizations →

GET /linkedin/organizations

Fetch all LinkedIn organizations (company pages) you have admin or posting access to. Returns organization details including URN, name, logo, and follower count.


Get Profile Visitors →

POST /linkedin/profile/visitors

Retrieve a list of people who viewed your LinkedIn profile. Shows visitor name, headline, and visit timestamp. Supports pagination and time range filters.


Use Cases

Network Analysis

Export your connections to analyze your network composition, identify key contacts, and find networking opportunities.

CRM Integration

Sync your LinkedIn connections with your CRM to maintain up-to-date contact records and track relationship history.

Outreach Tracking

Monitor pending connection requests to optimize your outreach strategy and follow up on unanswered invitations.

Quick Start

// Fetch first batch of connections
const response = await fetch(
  'https://api.connectsafely.ai/linkedin/connections?startIndex=0&limit=10',
  { headers: { 'Authorization': `Bearer ${API_KEY}` } }
);

const { connections, total, startIndex, limit } = await response.json();

console.log(`Fetched ${connections.length} connections`);
connections.forEach(conn => {
  console.log(`${conn.firstName} ${conn.lastName} - ${conn.headline}`);
});