Skip to main content
LinkedIn logo

Overview

Add LinkedIn to any ModuleX agent or workflow. Professional social networking platform for managing posts, comments, likes, profiles, organizations, and ad accounts via the LinkedIn REST API (api.linkedin.com/rest).
Categories: Social Media · Marketing · Communication · Auth: OAuth2 · Actions: 18

Authentication

OAuth2 Authentication

Connect using LinkedIn OAuth (recommended)

Required Credentials

OAuth Configuration

  • Authorization URL: https://www.linkedin.com/oauth/v2/authorization
  • Token URL: https://www.linkedin.com/oauth/v2/accessToken
  • Scopes: openid, profile, email, w_member_social

Available Actions

Parameters

string
required
The share or user generated content post URN where the comment will be made
string
required
Entity authoring the comment, must be a person or organization URN (e.g. urn:li:person:ABC123)
string
required
Text of the comment
object
Optional media content entities as a JSON object
string
URN of the parent comment for nested comments (not available for first-level comments)

Response

Parameters

string
required
ID of the organization that will author the post
string
required
URL of the image to upload and post
string
required
Text to be posted on the LinkedIn timeline

Response

Parameters

string
required
URL of the image to upload and post
string
required
Text to be posted on the LinkedIn timeline
string
required
Visibility restrictions on content. Valid values: CONNECTIONS, PUBLIC, LOGGED_IN

Response

Parameters

string
required
The top-level share URN or user generated content URN where the like will be performed
string
required
Entity performing the like, must be a person or organization URN
string
required
URN of the entity to which the like belongs, should be a sub-entity of the top-level share

Response

Parameters

string
required
ID of the organization that will author the post
string
required
Text to be posted on the LinkedIn timeline
string
URL of an article to share with the post

Response

Parameters

string
required
Visibility restrictions on content. Valid values: CONNECTIONS, PUBLIC, LOGGED_IN
string
required
Text to be posted on the LinkedIn timeline
string
URL of an article to share with the post

Response

Parameters

string
required
URN of the post to delete (e.g. urn:li:ugcPost:123 or urn:li:share:123)

Response

Parameters

string
required
ID of the ad account to fetch

Response

Response

Parameters

string
required
Identifier of the person to retrieve

Response

Parameters

array
required
List of person ID strings to retrieve

Response

Parameters

string
Limit results to a specific role. Valid values: ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER, RECRUITING_POSTER, LEAD_CAPTURE_ADMINISTRATOR, LEAD_GEN_FORMS_MANAGER, ANALYST, CURATOR, CONTENT_ADMINISTRATOR
string
Limit results to a specific role state. Valid values: APPROVED, REJECTED, REQUESTED, REVOKED

Response

Parameters

string
required
ID of the organization for which the access control information is being retrieved
integer
Maximum number of results to return (Default: 50)

Response

Parameters

string
required
ID of the organization for which administrators are being retrieved
integer
Maximum number of pages to fetch (1-500) (Default: 50)

Response

Parameters

boolean
Whether to include the original image data in the response (requires special permissions) (Default: false)

Response

Parameters

string
required
Parent comment URN to retrieve nested comments for. A composite URN using comment ID and activity URN
integer
Maximum number of results to return (Default: 50)

Response

Parameters

string
required
URN of the entity to retrieve comments on
integer
Maximum number of results to return (Default: 50)

Response

Parameters

string
required
Field to search by. Valid values: vanityName, emailDomain
string
required
Keyword to search for
integer
Maximum number of results to return (Default: 50)

Response

Limits & Quotas

  • LinkedIn API rate limits vary by product and endpoint. Generally 100 requests per day for most marketing/community management endpoints per OAuth app.
  • Organization-level posting endpoints are subject to daily limits per organization.
  • The LinkedIn-Version header is hardcoded to 202509; LinkedIn periodically deprecates older API versions.
  • Non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.

Hootsuite

Product Hunt

AgentMail