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
Field Description Required Format Client ID LinkedIn OAuth App Client ID Yes -Client Secret LinkedIn OAuth App Client Secret Yes -
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
create_comment — Create a comment on a share or user generated content post
create_image_post_organization — Create an image post on LinkedIn as an organization
Parameters ID of the organization that will author the post
URL of the image to upload and post
Text to be posted on the LinkedIn timeline
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"post_urn" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Post Urn"
}
},
"required" : [
"success"
],
"title" : "CreateImagePostOrganizationOutput" ,
"type" : "object"
}
create_image_post_user — Create an image post on LinkedIn as the authenticated user
Parameters URL of the image to upload and post
Text to be posted on the LinkedIn timeline
Visibility restrictions on content. Valid values: CONNECTIONS, PUBLIC, LOGGED_IN
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"post_urn" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Post Urn"
}
},
"required" : [
"success"
],
"title" : "CreateImagePostUserOutput" ,
"type" : "object"
}
create_like_on_share — Create a like on a share or user generated content post
Parameters The top-level share URN or user generated content URN where the like will be performed
Entity performing the like, must be a person or organization URN
URN of the entity to which the like belongs, should be a sub-entity of the top-level share
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
}
},
"required" : [
"success"
],
"title" : "CreateLikeOnShareOutput" ,
"type" : "object"
}
create_text_post_organization — Create a text post on LinkedIn as an organization, optionally with an article URL
Parameters ID of the organization that will author the post
Text to be posted on the LinkedIn timeline
URL of an article to share with the post
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"data" : {
"anyOf" : [
{
"additionalProperties" : true ,
"type" : "object"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Data"
}
},
"required" : [
"success"
],
"title" : "CreateTextPostOrganizationOutput" ,
"type" : "object"
}
create_text_post_user — Create a text post on LinkedIn as the authenticated user, optionally with an article URL
Parameters Visibility restrictions on content. Valid values: CONNECTIONS, PUBLIC, LOGGED_IN
Text to be posted on the LinkedIn timeline
URL of an article to share with the post
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"data" : {
"anyOf" : [
{
"additionalProperties" : true ,
"type" : "object"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Data"
}
},
"required" : [
"success"
],
"title" : "CreateTextPostUserOutput" ,
"type" : "object"
}
delete_post — Delete a post from LinkedIn
Parameters URN of the post to delete (e.g. urn:li:ugcPost:123 or urn:li:share:123)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
}
},
"required" : [
"success"
],
"title" : "DeletePostOutput" ,
"type" : "object"
}
fetch_ad_account — Fetch an individual ad account given its ID
Parameters ID of the ad account to fetch
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"data" : {
"anyOf" : [
{
"additionalProperties" : true ,
"type" : "object"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Data"
}
},
"required" : [
"success"
],
"title" : "FetchAdAccountOutput" ,
"type" : "object"
}
get_current_member_profile — Get the profile of the current authenticated member
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"data" : {
"anyOf" : [
{
"additionalProperties" : true ,
"type" : "object"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Data"
}
},
"required" : [
"success"
],
"title" : "GetCurrentMemberProfileOutput" ,
"type" : "object"
}
get_member_profile — Get another member's profile given their person ID
Parameters Identifier of the person to retrieve
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"data" : {
"anyOf" : [
{
"additionalProperties" : true ,
"type" : "object"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Data"
}
},
"required" : [
"success"
],
"title" : "GetMemberProfileOutput" ,
"type" : "object"
}
get_multiple_member_profiles — Get multiple member profiles at once given their person IDs
Parameters List of person ID strings to retrieve
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"results" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Results" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "GetMultipleMemberProfilesOutput" ,
"type" : "object"
}
get_org_member_access — Get the organization access control information of the current authenticated member
get_organization_access_control — Get a selected organization's access control information
get_organization_administrators — Get the administrator members of a selected organization
Parameters ID of the organization for which administrators are being retrieved
Maximum number of pages to fetch (1-500) (Default: 50)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"elements" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Elements" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "GetOrganizationAdministratorsOutput" ,
"type" : "object"
}
get_profile_picture_fields — Get the authenticated user's profile picture data including display image and metadata
retrieve_comments_on_comments — Retrieve comments on a comment given the parent comment URN
retrieve_comments_shares — Retrieve comments on a share given the share URN
search_organization — Search for an organization by vanity name or email domain
Parameters Field to search by. Valid values: vanityName, emailDomain
Maximum number of results to return (Default: 50)
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"elements" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Elements" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SearchOrganizationOutput" ,
"type" : "object"
}
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.
Links