Skip to content
For LLMsView as Markdown·

LinkedIn

Access profiles, organizations, posts, and analytics via the LinkedIn API.

DetailValue
CategorySocial Media
Base URLhttps://api.linkedin.com/v2
AuthenticationOAuth2
Endpoints5
Connector keylinkedin

Using LinkedIn in a workflow

  1. Go to Connections and click New Connection.
  2. Pick LinkedIn from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /meGet authenticated profile
POST /postsCreate a post
GET /posts/{postUrn}Get a post
GET /organizations/{organizationId}Get an organization
GET /organizationalEntityShareStatisticsGet share statistics

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /me

Get authenticated profile

DetailValue
Operation IDsocial.getProfile
MethodGET
Path/me

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LinkedIn connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getProfile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LinkedIn API reference.

POST /posts

Create a post

DetailValue
Operation IDsocial.createPost
MethodPOST
Path/posts

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LinkedIn connection from the Connection dropdown.
  3. In the Operation dropdown, select social.createPost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LinkedIn API reference.

GET /posts/{postUrn}

Get a post

DetailValue
Operation IDsocial.getPost
MethodGET
Path/posts/{postUrn}

Parameters

NameLocationTypeRequired
postUrnpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LinkedIn connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getPost.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LinkedIn API reference.

GET /organizations/{organizationId}

Get an organization

DetailValue
Operation IDsocial.getOrganization
MethodGET
Path/organizations/{organizationId}

Parameters

NameLocationTypeRequired
organizationIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LinkedIn connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getOrganization.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LinkedIn API reference.

GET /organizationalEntityShareStatistics

Get share statistics

DetailValue
Operation IDsocial.getShareStats
MethodGET
Path/organizationalEntityShareStatistics

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LinkedIn connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getShareStats.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LinkedIn API reference.