- Category: social media accounts
- Auth: OAUTH2
- Composio-managed OAuth available? Yes
- Tools: 25
- Triggers: 0
- Slug:
LINKEDIN - Version: 20261101_00
Frequently Asked Questions
How do I set up custom OAuth credentials for LinkedIn?
How do I set up custom OAuth credentials for LinkedIn?
Why am I getting 429 rate limit errors on LinkedIn?
Why am I getting 429 rate limit errors on LinkedIn?
Why can't I use certain LinkedIn scope combinations?
Why can't I use certain LinkedIn scope combinations?
w_member_social and r_organization_admin cannot be used together. If you need conflicting scopes, create your own OAuth app with the required permissions.Tools
Create comment on LinkedIn post
Create comment on LinkedIn post
LINKEDIN_CREATE_COMMENT_ON_POSTTool to create a first-level or nested comment on a LinkedIn share, UGC post, or parent comment via the Social Actions Comments API. Use when you need to engage with posts by adding comments or replying to existing comments. Supports text comments with optional @-mentions and image attachments.Input Parameters
Output
Create a LinkedIn post
Create a LinkedIn post
LINKEDIN_CREATE_LINKED_IN_POSTCreates a new post on LinkedIn for the authenticated user or an organization they manage. Requires w_member_social scope for posting as a person, and w_organization_social scope for posting as an organization (with ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER, or CONTENT_ADMIN role).Input Parameters
Output
Create video post
Create video post
LINKEDIN_CREATE_VIDEO_POSTPublish an available member-owned LinkedIn video as a personal native video post.Input Parameters
Output
Delete LinkedIn Post
Delete LinkedIn Post
LINKEDIN_DELETE_LINKED_IN_POSTDeletes a specific LinkedIn post (share) by its unique share_id, which must correspond to an existing share.Input Parameters
Output
Delete Post
Delete Post
LINKEDIN_DELETE_POSTDelete a LinkedIn post using the Posts API REST endpoint. Supports both ugcPost and share URN formats. This action is idempotent - deleting an already-deleted post returns success. Note: LinkedIn’s own live /rest/posts DELETE endpoint does NOT actually honor this on its own (a repeat delete 404s rather than returning 204 as LinkedIn’s docs claim); this action compensates by treating a 404 as a successful deletion.Input Parameters
Output
Delete UGC Post (Legacy)
Delete UGC Post (Legacy)
LINKEDIN_DELETE_UGC_POSTDelete a UGC post using the legacy UGC Post API endpoint. Use when you need to delete a post using the v2/ugcPosts endpoint. Deletion is idempotent - previously deleted posts also return success.Input Parameters
Output
Get ad targeting facets
Get ad targeting facets
Get audience counts
Get audience counts
LINKEDIN_GET_AUDIENCE_COUNTSRetrieves audience size counts for specified targeting criteria. Use when estimating reach for LinkedIn ad campaigns or targeted content.Input Parameters
Output
Get company info
Get company info
Get image details
Get image details
LINKEDIN_GET_IMAGETool to retrieve details of a LinkedIn image using its URN. Use when you need to check image status, get download URLs, or access image metadata for a single image.Input Parameters
Output
Get images
Get images
LINKEDIN_GET_IMAGESTool to retrieve image metadata including download URLs, status, and dimensions from LinkedIn’s Images API. Use when you need to access image details for posts, profiles, or media library assets.Input Parameters
Output
Get my info
Get my info
Get network size
Get network size
LINKEDIN_GET_NETWORK_SIZETool to retrieve the follower count for a LinkedIn organization. Use when you need to get the number of members following a specific company or organization on LinkedIn.Input Parameters
Output
Get organization page statistics
Get organization page statistics
LINKEDIN_GET_ORG_PAGE_STATSTool to retrieve page statistics for a LinkedIn organization page. Use when you need engagement metrics like page views and custom button clicks. Supports both lifetime statistics (all-time data segmented by demographics) and time-bound statistics (aggregate data for specific time ranges). Requires rw_organization_admin permission with ADMINISTRATOR role for the organization.Input Parameters
Output
Get person profile
Get person profile
LINKEDIN_GET_PERSONRetrieves a LinkedIn member’s profile information by their person ID. Returns lite profile fields (name, profile picture) by default, or basic profile fields (including headline and vanity name) with appropriate permissions.Input Parameters
Output
Get post content
Get post content
LINKEDIN_GET_POST_CONTENTTool to retrieve detailed post content including text, images, videos, and metadata from LinkedIn by post URN. Use when you need to fetch the full content and details of a specific LinkedIn post.Input Parameters
Output
Get videos
Get videos
LINKEDIN_GET_VIDEOSRetrieves video metadata from LinkedIn for a video owned by a person or organization. Supports single video retrieval and batch retrieval (multiple videos). Use when you need to get video details including duration, dimensions, status, download URLs, and media library information. Note: this does not support finding videos by a LinkedIn Ads sponsored account - that’s an ads/Campaign-Manager-specific capability outside this toolkit’s organic-posting scope.Input Parameters
Output
Initialize image upload
Initialize image upload
LINKEDIN_INITIALIZE_IMAGE_UPLOADTool to initialize an image upload to LinkedIn and return a presigned upload URL plus the resulting image URN. Use when you need to prepare an image upload for LinkedIn posts. After calling this tool, upload the image bytes to the returned upload_url via PUT request, then use the image URN in CREATE_LINKED_IN_POST action.Input Parameters
Output
List reactions on entity
List reactions on entity
LINKEDIN_LIST_REACTIONSRetrieves reactions (likes, celebrations, etc.) on a LinkedIn entity such as a share, post, or comment. Use when you need to see who reacted to content and what type of reactions were used.Input Parameters
Output
Register image upload
Register image upload
LINKEDIN_REGISTER_IMAGE_UPLOADTool to initialize a native LinkedIn image upload for feed shares and return a presigned upload URL plus the resulting digital media asset URN. Use when you need to upload an image to attach to a LinkedIn post. After calling this tool, upload the image bytes to the returned upload_url, then use the asset_urn in LINKEDIN_CREATE_LINKED_IN_POST.Input Parameters
Output
Search ad targeting entities
Search ad targeting entities
LINKEDIN_SEARCH_AD_TARGETING_ENTITIESSearch for ad targeting entities using typeahead search. Use when you need to find targeting entities like geographic locations, job titles, industries, or other targeting criteria for LinkedIn ad campaigns.Input Parameters
Output
Upload video
Upload video
LINKEDIN_UPLOAD_VIDEOUpload an MP4 video for a native post by the authenticated LinkedIn member and wait until it is ready.Input Parameters
s3key is an S3/R2 reference (production) or a base64 data: URL (self-hosted FILE_BACKEND=base64) — the FileStore knows which. Mirrors mercury/tools/files.py field-for-field.