Get me (yekar.linkedin.get-me) | Read | The member this connection is signed in as, and - the reason to call it - their author URN (urn:li:person:…), which is what Create post needs to post as a person. Reads the OpenID Connect profile, so it needs the 'Sign In with LinkedIn using OpenID Connect' product on your app. To post as a company page instead, use List organizations. |
List organizations (yekar.linkedin.list-organizations) | Read | The company pages this member administers, with the page URN (urn:li:organization:…) that Create post and Get post analytics need. Only APPROVED roles can actually act - a role still in REQUESTED state is listed with that state rather than hidden, because 'you have no pages' and 'your page role is not approved yet' are different answers. Needs the Community Management API product on your app. |
Create post (yekar.linkedin.create-post) | Write | Publish a post to LinkedIn as a member or as a company page, optionally sharing a link or an image uploaded with Upload image. The post goes live immediately - LinkedIn's API has no scheduling, so a scheduled post is a scheduled AUTOMATION. Posting as a page needs the Community Management API product plus an approved admin role on that page; posting as a member needs the Share on LinkedIn product. Returns the post URN, which is the handle for comments, metrics, analytics and deletion. |
Get post (yekar.linkedin.get-post) | Read | Read one post by URN: its text, author, visibility, lifecycle state and what it carries (an image or a shared link). Reads posts authored by identities this token can act for - LinkedIn has no public post-lookup API, and answers 404 for anything this member cannot see, which is indistinguishable from a deleted post. |
List posts (yekar.linkedin.list-posts) | Read | A page of the posts written by one authorized member or company page, newest first. Personal posts require the restricted r_member_social permission; Share on LinkedIn and w_member_social only allow publishing. Company-page posts require r_organization_social and an approved page role. A permission denial means the posts were not retrieved; do not retry unchanged permissions or report an empty result. LinkedIn reports no reliable total, so this says whether more remain rather than how many there are. |
Delete post (yekar.linkedin.delete-post) | Write | Permanently delete a post. LinkedIn has no trash and no undo - the post, its comments and its reactions all go, and the engagement it accumulated is not recoverable. The author identity behind this connection must own the post. |
Upload image (yekar.linkedin.upload-image) | Write | Upload an image so a post can carry it, and return its urn:li:image:… for Create post. Unlike most social APIs LinkedIn will NOT fetch a media URL for you - the bytes must be uploaded - so this tool downloads the URL you give it and forwards the bytes. The owner must be the same identity that will author the post: LinkedIn rejects a post whose image belongs to someone else. |
Create comment (yekar.linkedin.create-comment) | Write | Comment on a post, or reply to an existing comment, as a member or as a company page. The comment is public immediately. Commenting as a page needs an approved page role; commenting on someone else's post needs nothing beyond a valid token, but LinkedIn will refuse if the post's author has restricted comments. |
List comments (yekar.linkedin.list-comments) | Read | A page of top-level comments on a post, with each comment's URN (the handle for replying with Create comment). Replies to a comment are NOT included - read them by listing comments with that comment's URN as the post. For the overall like and comment tallies use Get social metrics; this returns a page, never a count. |
Get social metrics (yekar.linkedin.get-social-metrics) | Read | Reaction and comment counts for one post, as LinkedIn itself counts them - not derived from any list this integration fetched. Works for member posts and page posts alike, which is what makes it the right tool for a member post: Get post analytics covers impressions and clicks but exists only for company pages. |
Get post analytics (yekar.linkedin.get-post-analytics) | Read | Impressions, clicks, reactions, comments, shares and LinkedIn's own engagement rate - for one page post, or as the page's lifetime rollup when no post is given. COMPANY PAGES ONLY: LinkedIn publishes no equivalent API for a member's own posts, so for those use Get social metrics (reactions and comments), which is genuinely all that is available. Needs the Community Management API product and an approved analytics role on the page. |