ReachMCP LinkedIn – Connections API
The LinkedIn – Connections API from ReachMCP — 10 operation(s) for linkedin – connections.
The LinkedIn – Connections API from ReachMCP — 10 operation(s) for linkedin – connections.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/reachmcp-com:reachmcp-com-linkedin-connections-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: MCP Reach LinkedIn – Connections API
description: '## MCP Reach API overview
This API lets you manage LinkedIn accounts connected to MCP Reach and query account activity.
The documented endpoints cover:
- listing and deleting LinkedIn accounts
- reading and updating account quotas
- reading request logs and aggregated request-log statistics
- querying LinkedIn `/me` through the account proxy
## API documentation
Interactive reference (Scalar): **`/scalar`** (alias: `/api/scalar`). Swagger UI: `/docs`. ReDoc: `/redoc`.
## Authentication
1. Open the MCP Reach frontend.
2. Go to **API Keys** and create/retrieve your API key.
3. Send this key in every request header:
`X-API-Key: `
Requests without a valid `X-API-Key` are rejected.
## Errors
Every error response carries `detail` (unchanged, for existing clients) and an `error` object built for agents: `code` (stable identifier such as `daily_quota_reached`), `message`, `status`, `safe_to_retry` (whether the same call can succeed if repeated), `retry_at` (ISO 8601, when it can) and `remediation` (what to do instead). Act on `code`, never on the wording of `message`.
## Idempotency
Send an `Idempotency-Key` header (any string up to 200 characters, a UUID is fine) on any POST/PATCH/DELETE under `/api/linkedin/`. Repeating the request with the same key returns the stored response with `Idempotent-Replayed: true` and does nothing on LinkedIn; the same key with a different body is refused with `409 idempotency_key_reused`. Only successful responses are kept; keys expire after 24 hours.
## Webhooks
Register an endpoint under `/api/webhooks/endpoints` to be called when a conversation gets a new message, the account gains a new connection, an account changes connection state, or a daily quota is close to or at its limit (`GET /api/webhooks/events` lists the types). Deliveries are signed: `Reach-Signature: t=,v1=.'')>`, retried for about 15 hours, and replayable from the dashboard or the API.'
version: 0.1.0
tags:
- name: LinkedIn – Connections
paths:
/api/linkedin/{account_id}/connections:
get:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: list connections (paged)'
description: Fetches Voyager ``relationships/dash/connections`` with the same query as Kanbox ``sync_connections_linkedin`` and returns normalized rows (same fields as ``sync_connections``).
operationId: linkedin_connections_api_linkedin__account_id__connections_get
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: start
in: query
required: false
schema:
type: integer
minimum: 0
description: Paging offset (Kanbox ``start``).
default: 0
title: Start
description: Paging offset (Kanbox ``start``).
- name: count
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Page size (max 100 per request).
default: 100
title: Count
description: Page size (max 100 per request).
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedInConnectionsPageOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/connect:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: send a connection request'
description: 'Sends a connection request to a LinkedIn member on behalf of the connected account.
**Input** (``linkedin_id_or_url``):
- Internal member ID: ``ACoAABcDEFg...``
- Vanity name: ``john-doe``
- Full profile URL: ``https://www.linkedin.com/in/john-doe``
The optional ``message`` is capped at **300 characters** for premium accounts, **200** otherwise.'
operationId: linkedin_connect_api_linkedin__account_id__connect_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
- name: message
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Optional personalised invitation note (max 300 chars for premium, 200 otherwise).
title: Message
description: Optional personalised invitation note (max 300 chars for premium, 200 otherwise).
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/invitation-status:
get:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: get invitation/connection status with a member'
description: 'Returns the connection and invitation status between the connected account and a LinkedIn member.
**Input** (``linkedin_id_or_url``):
- Internal member ID: ``ACoAABcDEFg...``
- Vanity name: ``john-doe``
- Full profile URL: ``https://www.linkedin.com/in/john-doe``
**``invitation_type``** values:
- ``SENT`` — invitation sent, awaiting acceptance
- ``PENDING`` — invitation received, not yet accepted
- ``WITHDRAWN`` — invitation was withdrawn
- ``REFUSED`` — invitation was declined'
operationId: linkedin_invitation_status_api_linkedin__account_id__invitation_status_get
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedInInvitationStatusOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/withdraw-invitation:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: withdraw a sent invitation'
description: 'Withdraws a pending sent connection request.
Returns ``{"withdrawn": true}`` on success, ``{"withdrawn": false}`` if no SENT invitation exists.'
operationId: linkedin_withdraw_invitation_api_linkedin__account_id__withdraw_invitation_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/accept-invitation:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: accept a received invitation'
description: Accepts a pending received connection request.
operationId: linkedin_accept_invitation_api_linkedin__account_id__accept_invitation_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/decline-invitation:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: decline a received invitation'
description: Ignores/declines a pending received connection request.
operationId: linkedin_decline_invitation_api_linkedin__account_id__decline_invitation_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/remove-connection:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: remove a 1st-degree connection'
description: 'Removes an existing connection. Returns ``{"removed": false}`` if the member is not a connection.'
operationId: linkedin_remove_connection_api_linkedin__account_id__remove_connection_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/follow:
post:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: follow or unfollow a member'
description: 'Follows or unfollows a LinkedIn member without connecting.
Set ``follow=false`` to unfollow.'
operationId: linkedin_follow_api_linkedin__account_id__follow_post
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: linkedin_id_or_url
in: query
required: true
schema:
type: string
description: LinkedIn member ID, vanity name, or profile URL.
title: Linkedin Id Or Url
description: LinkedIn member ID, vanity name, or profile URL.
- name: follow
in: query
required: false
schema:
type: boolean
description: True to follow, False to unfollow.
default: true
title: Follow
description: True to follow, False to unfollow.
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/received-invitations:
get:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: list received pending invitations'
description: Returns pending connection invitations received by the account, with invitation_secret to accept them.
operationId: linkedin_received_invitations_api_linkedin__account_id__received_invitations_get
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: start
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Start
- name: count
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Count
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedInInvitationsPageOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/linkedin/{account_id}/sent-invitations:
get:
tags:
- LinkedIn – Connections
summary: 'LinkedIn proxy: list sent pending invitations'
description: Returns connection invitations sent by the account that are still pending.
operationId: linkedin_sent_invitations_api_linkedin__account_id__sent_invitations_get
security:
- XApiKeyAuth: []
parameters:
- name: account_id
in: path
required: true
schema:
type: integer
title: Account Id
- name: start
in: query
required: false
schema:
type: integer
minimum: 0
default: 0
title: Start
- name: count
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
default: 20
title: Count
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/LinkedInInvitationsPageOut'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
LinkedInInvitationsPageOut:
properties:
invitations:
items:
$ref: '#/components/schemas/LinkedInInvitationItemOut'
type: array
title: Invitations
total:
type: integer
title: Total
start:
type: integer
title: Start
count:
type: integer
title: Count
type: object
required:
- invitations
- total
- start
- count
title: LinkedInInvitationsPageOut
description: Paged list of invitations.
LinkedInInvitationItemOut:
properties:
invitation_id:
type: string
title: Invitation Id
description: Invitation URN.
invitation_secret:
anyOf:
- type: string
- type: 'null'
title: Invitation Secret
description: Shared secret (only on received invitations, needed to accept).
linkedin_id:
anyOf:
- type: string
- type: 'null'
title: Linkedin Id
description: Internal LinkedIn member ID of the other party.
linkedin_public_id:
anyOf:
- type: string
- type: 'null'
title: Linkedin Public Id
description: Vanity name of the other party.
full_name:
anyOf:
- type: string
- type: 'null'
title: Full Name
headline:
anyOf:
- type: string
- type: 'null'
title: Headline
picture:
anyOf:
- type: string
- type: 'null'
title: Picture
profile_url:
anyOf:
- type: string
- type: 'null'
title: Profile Url
sent_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Sent At
description: ISO 8601 UTC timestamp when the invitation was sent.
message:
anyOf:
- type: string
- type: 'null'
title: Message
description: Personalised note attached to the invitation.
type: object
required:
- invitation_id
title: LinkedInInvitationItemOut
description: A single invitation entry (received or sent).
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
LinkedInConnectionsPageOut:
properties:
start:
type: integer
title: Start
description: Offset used for this request.
count:
type: integer
title: Count
description: Requested page size.
total:
anyOf:
- type: integer
- type: 'null'
title: Total
description: Total connections reported by LinkedIn ``paging.total``.
items:
items:
$ref: '#/components/schemas/LinkedInConnectionItemOut'
type: array
title: Items
next_start:
anyOf:
- type: integer
- type: 'null'
title: Next Start
description: If set, use as the ``start`` query param for the next page (Kanbox-style paging).
type: object
required:
- start
- count
- items
title: LinkedInConnectionsPageOut
description: Paged list of connections (Voyager dash connections API).
LinkedInInvitationStatusOut:
properties:
is_connection:
type: boolean
title: Is Connection
description: True if the member is a 1st-degree connection.
degree:
anyOf:
- type: integer
- type: 'null'
title: Degree
description: Connection distance (1, 2 or 3).
invitation_type:
anyOf:
- type: string
- type: 'null'
title: Invitation Type
description: '''SENT'' (pending sent), ''PENDING'' (received, awaiting acceptance), ''WITHDRAWN'', or ''REFUSED''.'
invitation_id:
anyOf:
- type: string
- type: 'null'
title: Invitation Id
description: Invitation URN, if any.
invitation_secret:
anyOf:
- type: string
- type: 'null'
title: Invitation Secret
description: Shared secret, required to accept a received invitation.
type: object
required:
- is_connection
title: LinkedInInvitationStatusOut
description: Connection / invitation status between the connected account and a LinkedIn member.
LinkedInConnectionItemOut:
properties:
linkedin_id:
type: string
title: Linkedin Id
description: Connection id from entityUrn (fsd_connection:…).
linkedin_public_id:
type: string
title: Linkedin Public Id
description: Vanity id when known, else same as linkedin_id.
firstname:
anyOf:
- type: string
- type: 'null'
title: Firstname
lastname:
anyOf:
- type: string
- type: 'null'
title: Lastname
headline:
anyOf:
- type: string
- type: 'null'
title: Headline
picture:
anyOf:
- type: string
- type: 'null'
title: Picture
description: Photo URL from profilePicture vectorImage.
connected_at:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Connected At
description: Connection time from Voyager ``createdAt`` (UTC).
type: object
required:
- linkedin_id
- linkedin_public_id
title: LinkedInConnectionItemOut
description: 'One connection row: same extraction as Kanbox ``sync_connections`` (lead fields).'
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer
APIKeyHeader:
type: apiKey
in: header
name: X-API-Key
XApiKeyAuth:
type: apiKey
in: header
name: X-API-Key
description: Create/retrieve the key in the frontend API Keys page and send it in this header.