Docs · static mirror — the interactive version loads with JavaScript.

LinkedIn

Source: https://runstack.engineer/docs/toolkits/linkedin

Publish posts, shares, and video; comment and react; upload images and video; manage company pages, analytics, and ad targeting.

Tools (25):

ToolDescription
linkedinCreatePostCreate a text post on LinkedIn as the authenticated member or a managed organization. Use for status updates and announcements; attach previously uploaded images via imageUrns, reshare via reshareParentUrn, or add a call-to-action button.
linkedinCreateArticleShareShare a URL link on LinkedIn with optional commentary via the UGC Posts API. Use when posting an article or any link preview; the post shows the URL title, description, and thumbnail.
linkedinCreateVideoPostPublish an uploaded LinkedIn video as a personal native video post. Use after linkedinUploadVideo returns a ready video URN; pass it here with commentary.
linkedinGetPostContentFetch full content and metadata of a LinkedIn post by URN: text, images, video, author, visibility, and lifecycle state. Use to inspect a post before replying, resharing, or deleting.
linkedinDeletePostDelete a LinkedIn post via the Posts API by ugcPost or share URN. Idempotent: deleting an already-deleted post still returns success.
linkedinDeleteShareDelete a LinkedIn share by its numeric share ID (accepts a bare ID or full urn:li:share:{id} URN). Use when you only have the share ID rather than a full post URN.
linkedinDeleteUgcPostDelete a UGC post via the legacy UGC Posts API by ugcPost or share URN. Idempotent: already-deleted posts return success.
linkedinCreateCommentComment on a LinkedIn share or UGC post, or reply to an existing comment. Supports @-mentions via attributes and image attachments via image URNs.
linkedinListReactionsList reactions (LIKE, PRAISE, APPRECIATION, EMPATHY, INTEREST, ENTERTAINMENT) on a share, post, or comment. Use to see who reacted and how.
linkedinInitializeImageUploadStart an image upload and get a presigned upload URL plus image URN. After calling, PUT the image bytes to uploadUrl, then use the image URN in linkedinCreatePost. Required first step for image posts.
linkedinRegisterImageUploadRegister an image upload via the legacy Assets API and get an upload URL plus digital media asset URN. PUT image bytes to the returned uploadUrl, then reference the asset URN in a UGC share.
linkedinGetImageGet metadata for a single LinkedIn image: status, download URL, dimensions. Use to check an upload is ready before attaching it to a post.
linkedinGetImagesBatch-fetch metadata (status, download URLs, dimensions) for multiple LinkedIn images in one call. Use for media library or post-asset inventories.
linkedinGetVideosGet LinkedIn video metadata: duration, dimensions, status, download URLs, media library info. Fetch one video by URN or batch multiple by IDs.
linkedinUploadVideoUpload an MP4 video from a public URL and wait until LinkedIn finishes processing. Returns the ready video URN for linkedinCreateVideoPost. Full flow handled: initialize, binary PUT, finalize, status polling.
linkedinGetMyInfoGet the authenticated member profile: name, email, locale, picture, and subject ID. Call first to resolve your person URN (urn:li:person:{sub}) for authoring posts and comments.
linkedinWhoAmIIdentify the connected LinkedIn account: name, email, member ID, and person URN. Lightweight identity check before acting on behalf of the account.
linkedinGetPersonLook up a LinkedIn member lite profile (names, picture) by person ID. Use for resolving comment authors or mention targets.
linkedinGetCompanyInfoList organizations where you hold a role (admin, content poster). Use to discover organization URNs and confirm posting rights before publishing as a company page.
linkedinGetNetworkSizeGet the follower count of a LinkedIn organization page. Use for company page reach snapshots.
linkedinGetOrgPageStatsGet organization page statistics: lifetime totals segmented by demographics, or time-bound aggregates (page views, button clicks) for a date range. Requires page admin role.
linkedinGetShareStatsGet content performance for an organization page: impressions, clicks, likes, comments, shares. Lifetime by default; add a time range for daily/monthly breakdowns.
linkedinGetAdTargetingFacetsList available LinkedIn ad targeting facets (locations, industries, titles, seniorities, ...). Call first to discover valid facet URNs for audience planning and entity search.
linkedinGetAudienceCountsEstimate audience reach for targeting criteria (ad campaign sizing or targeted content planning). Pass targeting criteria using facet URNs.
linkedinSearchAdTargetingEntitiesTypeahead search for ad targeting entities: locations, job titles, industries, and more. Use to resolve names like "united states" into targeting URNs for audience criteria.