Connections
connection status
Check connection status with a LinkedIn person.
linkedin connection status <url>linkedin connection status https://www.linkedin.com/in/vprudnikoffconnection send
Send a connection request.
linkedin connection send <url> [flags]| Flag | Type | Description |
|---|---|---|
--note | string | Personalized note to include with the request |
--email | string | Email address (required by some profiles to connect) |
linkedin connection send https://www.linkedin.com/in/vprudnikoff
linkedin connection send https://www.linkedin.com/in/vprudnikoff --note "Love to connect!"
linkedin connection send https://www.linkedin.com/in/vprudnikoff --email vlad@example.comconnection list
List your LinkedIn connections with optional filters.
linkedin connection list [flags]| Flag | Type | Description |
|---|---|---|
--limit | integer | Max connections to return |
--since | string | Only connections made since this ISO timestamp |
--first-name | string | Filter by first name |
--last-name | string | Filter by last name |
--position | string | Filter by job position |
--locations | string | Comma-separated locations |
--industries | string | Comma-separated industries |
--current-companies | string | Comma-separated current company names |
--previous-companies | string | Comma-separated previous company names |
--schools | string | Comma-separated school names |
--sinceonly works when no filter flags are used.
linkedin connection list --limit 50 --json
linkedin connection list --current-companies "Linked API" --position "Engineer" --json
linkedin connection list --since 2024-01-01T00:00:00Z --jsonconnection pending
List pending outgoing connection requests.
linkedin connection pending --jsonconnection invitations
List incoming connection, company-follow, and newsletter-subscription invitations.
linkedin connection invitations --jsonconnection accept
Accept an incoming invitation. The type must match the target URL.
linkedin connection accept <type> <url>linkedin connection accept connect https://www.linkedin.com/in/vprudnikoff
linkedin connection accept companyFollow https://www.linkedin.com/company/example
linkedin connection accept newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890connection ignore
Ignore an incoming invitation. The type must match the target URL.
linkedin connection ignore <type> <url>linkedin connection ignore connect https://www.linkedin.com/in/vprudnikoff
linkedin connection ignore companyFollow https://www.linkedin.com/company/example
linkedin connection ignore newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890connection withdraw
Withdraw a pending connection request.
linkedin connection withdraw <url> [flags]| Flag | Type | Default | Description |
|---|---|---|---|
--unfollow / --no-unfollow | boolean | true | Also unfollow the person |
linkedin connection withdraw https://www.linkedin.com/in/vprudnikoff
linkedin connection withdraw https://www.linkedin.com/in/vprudnikoff --no-unfollowconnection remove
Remove an existing connection.
linkedin connection remove <url>linkedin connection remove https://www.linkedin.com/in/vprudnikoffnetwork sync
Enable network monitoring for the account. Run once — afterwards connection events (accepted requests, new connections, incoming requests) become available via network events.
linkedin network syncOnly changes that happen after this runs are captured.
network events
Get connection events from the monitored network.
linkedin network events [flags]| Flag | Type | Description |
|---|---|---|
--since | string | Only retrieve events after this ISO timestamp |
--type | string | Filter by event type: connectionRequestReceived, connectionAccepted, or connectionAdded (default: all) |
linkedin network events --json
linkedin network events --since 2024-01-15T10:30:00Z --type connectionAcceptedRequires network monitoring to be enabled once with
network sync. Events are retained for 90 days.