All articles

LinkedIn API post: member profiles vs company pages

A person card and a company page card joined by two paths into one post card, with a key and a shield

To post with the LinkedIn API, you send POST https://api.linkedin.com/rest/posts with a member's access token, and the author decides where the post appears: urn:li:person:{id} for a member profile, urn:li:organization:{id} for a company page. The two authors need different products: posting as a member only needs Share on LinkedIn, which any developer can add, while posting as a company page needs the Community Management API, a vetted product with its own review.

Short answers:

  • Which scope do I need? w_member_social for a member profile, w_organization_social for a company page.

  • Who can post for a page? A signed-in member whose page role allows creating organic posts. LinkedIn's authorization mapping gives that permission (ORGANIC_SHARE_CREATE) to administrators and content admins.

  • Is there a review? Not for member posts. For company pages, yes: a Development tier first, then a Standard tier after a screencast review.

  • How long do tokens last? LinkedIn currently issues access tokens for 60 days; read the real value from expires_in in each token response.

This guide covers the scopes and page roles each author needs, how to check whether a member can post to a page, how LinkedIn reviews company page access, how to build the request, the text and media rules, the limits, tokens and versions that keep an integration running, and what LinkedIn's terms say about automated posting, with a free checker in JavaScript and Python that reviews your posts against those rules and a publishing script tested against a mock of LinkedIn's API.

Technical review: 30 November 2026, against LinkedIn's Marketing API documentation for version 202611 (the latest that day), the Share on LinkedIn and authentication pages, the LinkedIn API Terms of Use and LinkedIn Help. How to read this guide: "LinkedIn documents" or a quote means the rule is on a LinkedIn page we link; "our calculation" and "our reading" mark what APIWings worked out from those pages.

Key takeaways:

  • Two products, one endpoint. Member posts need w_member_social (Share on LinkedIn, self-serve). Company page posts need w_organization_social (Community Management API, vetted).

  • Company pages need a page role. Check it with organizationAuthorizations (action ORGANIC_SHARE_CREATE) before you show a page as a posting target.

  • The Community Management review has two tiers. Development tier: 500 calls per app and 100 per member in 24 hours. Standard tier: LinkedIn lifts those Development restrictions, but its daily rate limits and terms still apply.

  • Escape the text once. LinkedIn reads commentary in its "little" format, where characters such as ( ) [ ] @ # * must carry a backslash; escaping text that is already escaped doubles the backslashes.

  • Plan for reconnection. Access tokens currently last 60 days, and only approved partners get refresh tokens.

  • Every call needs a Linkedin-Version header, and each version is supported for at least one year.

Member profile or company page: two LinkedIn products

The Posts API is the same for both authors, but the access to it is not. The Posts API lists w_member_social to "post, comment, and like posts on behalf of an authenticated member" and w_organization_social to do the same "on behalf of an organization". Each permission comes from a different product, according to LinkedIn's Getting Access and Increasing Access pages:

Member profile Company page
Author URN urn:li:person:{id} urn:li:organization:{id}
Permission w_member_social w_organization_social
Product Share on LinkedIn (open, self-serve) Community Management API (vetted)
How you get it Add the product in the Developer Portal Access request form, then a review
Who can post The member who signed in A member whose page role allows organic posts
Read posts back r_member_social: closed r_organization_social: included
Documented daily calls 150 per member, 100,000 per app (Share on LinkedIn page) Development tier: 100 per member, 500 per app. Standard tier: no published number; see your app's Analytics tab
Two panels comparing LinkedIn member profile and company page posting: product, scope, author, roles and limits
Two paths into the same Posts API endpoint.

The same OAuth flow serves both. The member signs in on LinkedIn's consent screen and your app receives one access token. With w_organization_social, that token can post for the pages where the member has a role that allows it; with w_member_social, only to the member's own profile.

You cannot read member posts back. The Posts API marks r_member_social as restricted, and the Community Management overview says it is "a closed permission" that LinkedIn is not accepting requests for. Keep the post URN that LinkedIn returns when you create the post; it is the only record you get.

How to get LinkedIn API access for company pages

Company pages need the Community Management API, and LinkedIn vets every app that asks for it. The Community Management App Review page lists what LinkedIn checks before the first tier:

  • A registered legal organization with a commercial use case. Individuals cannot apply.

  • A verified business email address. LinkedIn says personal email addresses "won't pass the vetting process".

  • Your organization's legal name, registered address, website and privacy policy.

  • The app verified by a super admin of your organization's LinkedIn Page.

  • No part of the LinkedIn or Microsoft names or logos in the app (LinkedIn gives "Linked" and "In" as examples).

A rejection costs you the app. If LinkedIn rejects a Development or Standard tier request, you "won't be able to re-apply" with the same app: you create a new app and start again with a new Development tier request. The overview FAQ also says to request the Development tier only from a new app that does not have access to other API products.

What the Development tier allows

The Development tier is for building, not for production. According to Increasing Access, it allows:

  • 500 API calls per app and 100 per member in 24 hours, across all APIs.

  • No calls to APIs that use BATCH_GET.

  • No push notifications from the social actions webhook.

  • Twelve months to build and test your use case from the day access is provisioned.

What the Standard tier changes, and what it does not

LinkedIn describes the Standard tier as "the full-featured capability of the program" with "no restrictions". In that table, "no restrictions" is the opposite of the Development tier's restrictions: the 500 and 100 call caps, the BATCH_GET block and the disabled webhook notifications go away. It does not mean unlimited calls. These still apply on the Standard tier:

  • Daily rate limits. LinkedIn's rate limiting page says "all API requests are rate limited" and that standard limits "are not published": you read them in your app's Analytics tab.

  • Page roles and scopes. Every call still runs as a member who needs the right role on the page.

  • Terms and data rules. The Marketing API Terms, the data storage requirements and restricted uses, and LinkedIn's right to monitor and suspend access.

  • Re-review. LinkedIn says changes to your app's functionality after the review "may require re-review".

You request it from the Developer Portal (My Apps, Products) once the integration is built. LinkedIn asks for a company and product overview, test credentials and a screen recording that is high resolution, downloadable, limited to your app's screens, and preferably narrated. For a page management use case, the recording must show:

  1. A user approving access to their LinkedIn page through the complete OAuth flow.

  2. The user posting to their LinkedIn page through your app.

  3. How a member's comment on that post is displayed in your app.

  4. Which personal data fields from the commenter's profile your app displays.

  5. Any other core feature that uses member data.

If your app does not have one of those features, say so in the recording. LinkedIn's page says to note it rather than leave it out. The review also checks your privacy policy and LinkedIn's data storage requirements, and LinkedIn says it may still decline an app that meets the minimum requirements. It does not publish how long the review takes.

Page roles that can post through the API

w_organization_social only works for pages where the member has the right role. The Posts API lists three roles for it: ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER and CONTENT_ADMIN. LinkedIn's role to permission mapping is more precise for organic posts: it gives ORGANIC_SHARE_CREATE to the ADMINISTRATOR and CONTENT ADMIN roles only. The organization roles page describes the roles:

Role What LinkedIn says it allows Organic page posts
ADMINISTRATOR Post updates, edit the page, add admins, view analytics Yes: has ORGANIC_SHARE_CREATE
CONTENT_ADMINISTRATOR Create and manage page content, including updates and pinned posts Yes: has ORGANIC_SHARE_CREATE (the Posts API writes it CONTENT_ADMIN)
DIRECT_SPONSORED_CONTENT_POSTER Read and create direct sponsored content Check first: listed for w_organization_social, but not in the organic posting mapping
RECRUITING_POSTER "Access to post to an organizational entity" Not in the Posts API list
ANALYST View analytics; read posts in the mapping No
CURATOR Notifications and analytics in the mapping No
LEAD_CAPTURE_ADMINISTRATOR Manage landing pages No

Our reading: for organic posts, do not rely on a list of role names. Ask LinkedIn directly for the permission, as below.

Check whether a member can post to a page: Organization Authorizations

/rest/organizationAuthorizations answers "can this member do this action on this page?" without you knowing the roles. LinkedIn's getting started page calls it "optional but recommended" and gives the reason: with /organizationAcls, "every new Role introduced by LinkedIn will require additional checks" (for example, "is admin || content admin ||" each time a role is added). The Organization Authorizations reference lists rw_organization_admin as its permission, which comes with the Community Management API.

To check organic posting, ask for ORGANIC_SHARE_CREATE. URNs inside the key must be URL-encoded:

GET https://api.linkedin.com/rest/organizationAuthorizations/(impersonator:urn%3Ali%3Aperson%3A{member_id},organization:urn%3Ali%3Aorganization%3A{organization_id},action:(organizationContentAuthorizationAction:(actionType:ORGANIC_SHARE_CREATE)))
Authorization: Bearer {member_access_token}
Linkedin-Version: 202611
X-Restli-Protocol-Version: 2.0.0

The answer is in status. LinkedIn's samples show "com.linkedin.organization.Approved": {} when the member may act, or "com.linkedin.organization.Denied" with reasons such as MEMBER_HAS_INSUFFICIENT_PERMISSIONS_IN_ACCESS_CONTROL or ORGANIZATION_INACTIVE. A call without enough permission returns 403.

When to use each endpoint:

  • organizationAuthorizations: to decide whether to show a page as a posting target, and to stay correct when LinkedIn adds roles. The endpoint also has BATCH_GET and a batch finder for several pages at once; the Development tier blocks BATCH_GET, so there use the single GET.

  • organizationAcls: to list the pages where a member has a role (GET /rest/organizationAcls?q=roleAssignee&role=ADMINISTRATOR&state=APPROVED), to read role states (APPROVED, REQUESTED, REJECTED, REVOKED) and to request the DIRECT_SPONSORED_CONTENT_POSTER role, which LinkedIn says is still done with /organizationAcls.

Check again before each publish. Roles change. Our publishing script asks for ORGANIC_SHARE_CREATE right before it posts to a page, stops on Denied and reports "unchecked" if the token cannot read the endpoint.

How a LinkedIn API post request looks

Every call goes to the versioned base path https://api.linkedin.com/rest/ with three headers. This is a member text post, as our checker builds it for one of the posts in the worked example below (a fictional app and member):

POST https://api.linkedin.com/rest/posts
Authorization: Bearer {member_access_token}
Linkedin-Version: 202611
X-Restli-Protocol-Version: 2.0.0
Content-Type: application/json

{
  "author": "urn:li:person:AnaFict01",
  "commentary": "We shipped v2 of our \\[beta\\] API today \\(thanks to everyone who tested it\\) #launch #api",
  "visibility": "PUBLIC",
  "distribution": {
    "feedDistribution": "MAIN_FEED",
    "targetEntities": [],
    "thirdPartyDistributionChannels": []
  },
  "lifecycleState": "PUBLISHED",
  "isReshareDisabledByAuthor": false
}

LinkedIn answers 201 Created with the post ID in the x-restli-id header, for example urn:li:share:6844785523593134080 or urn:li:ugcPost:.... The response has no body to parse. The public link is https://www.linkedin.com/feed/update/{post URN}/.

Media goes up first. To attach an image, call POST /rest/images?action=initializeUpload with the author as owner, upload the bytes to the uploadUrl it returns and put the image URN in content.media.id (Images API). Documents follow the same pattern with the Documents API; videos use a multipart upload in parts of 4 MB with a finalize step (Videos API).

There is no scheduled or draft state. lifecycleState accepts only PUBLISHED on creation (post schema), so a scheduled post waits in your own queue until its time; our guide to the social media scheduling API covers that queue.

The same post as a member and as a company page

Only the author changes in the request body; the token, scope and checks around it change more. Our checker produced both bodies from the same text, "Our API status page is live (uptime, incidents, history) #devops", with placeholder IDs:

Member profile Company page
author urn:li:person:{member_id} urn:li:organization:{organization_id}
Token The member's own token The token of a member who manages the page
Scope in that token w_member_social w_organization_social (plus rw_organization_admin to call organizationAuthorizations)
Check before posting Token not expired Token not expired and ORGANIC_SHARE_CREATE approved for that member and page
visibility PUBLIC, CONNECTIONS or LOGGED_IN PUBLIC (CONNECTIONS is a member's network)
Targeting Not available Possible, audience over 300 followers
Read the post back Not possible (r_member_social closed) With r_organization_social
// As a member profile
{ "author": "urn:li:person:{member_id}",
  "commentary": "Our API status page is live \\(uptime, incidents, history\\) #devops",
  "visibility": "PUBLIC",
  "distribution": { "feedDistribution": "MAIN_FEED", "targetEntities": [], "thirdPartyDistributionChannels": [] },
  "lifecycleState": "PUBLISHED", "isReshareDisabledByAuthor": false }

// As a company page: same body, different author (and a different token)
{ "author": "urn:li:organization:{organization_id}",
  "commentary": "Our API status page is live \\(uptime, incidents, history\\) #devops",
  "visibility": "PUBLIC",
  "distribution": { "feedDistribution": "MAIN_FEED", "targetEntities": [], "thirdPartyDistributionChannels": [] },
  "lifecycleState": "PUBLISHED", "isReshareDisabledByAuthor": false }

Media must belong to the same author. When you upload an image for a page post, the owner in initializeUpload is the organization URN; for a member post, the person URN. The Images API says that for images with member owners, "the caller must match the image owner".

Write the text in LinkedIn's little format

commentary is not plain text: LinkedIn reads it in its little format. The format reserves 15 characters for mentions, hashtags and templates, and they must be escaped with a backslash "even if those characters are not used" in a mention or hashtag:

| { } @ [ ] ( ) < > # \ * _ ~

These are the results our checker gives, each covered by its tests. The middle column is the text LinkedIn receives; in a JSON body, every backslash in it is written twice:

You write LinkedIn receives (little format) Why
v2 (beta) v2 \(beta\) Parentheses are reserved
#launch day #launch day A # that starts a word is a hashtag
I code C# daily I code C\# daily A # inside a word is plain text
C:\temp C:\\temp The backslash itself is reserved
Ship it πŸš€ (today) Ship it πŸš€ \(today\) Emojis and accents need nothing
Thanks Ana Ruiz! with a person mention Thanks @[Ana Ruiz](urn:li:person:{id})! Mention: text plus URN
Built with Acme (EU) with a company mention Built with @[Acme \(EU\)](urn:li:organization:{id}) Reserved characters inside the mention text are escaped too

Escape once. If your text is already in little format, escaping it again turns \( into \\\(, and the backslashes show in the post. Our checker escapes plain text by default, warns when the text already contains escapes, and accepts already-formatted text with "commentary_format": "little", where it only reports reserved characters left unescaped.

Mentions and hashtags have their own rules. LinkedIn links a mention only if its text matches the name ("matching is case sensitive"); organization mentions must match the full name, and otherwise the text shows as plain text. A hashtag can also be written as the template {hashtag|#|tag}. Our reading: the checker keeps # unescaped only before an ASCII letter or digit at the start of a word, so a hashtag that starts with another character is sent as plain text rather than risk a broken format.

A post can have up to 3,000 characters, according to LinkedIn Help. The Posts API reference states no maximum, and no LinkedIn page says whether the backslashes count. Our recommendation: keep the escaped text within 3,000 characters too, so either count fits.

Each content type has its own rules. These come from the Images, MultiImage, Videos and Documents pages and the Posts API:

Content Rules Field in the post
Image JPG, PNG or GIF (up to 250 frames); fewer than 36,152,320 pixels; alt text up to 4,086 characters, under 120 recommended content.media.id = image URN
Several images 2 to 20 images, organic posts only content.multiImage.images
Video MP4, 3 seconds to 30 minutes, 75 KB to 500 MB (see the 5 GB note below) content.media.id = video URN
Document PDF, PPT, PPTX, DOC or DOCX, up to 100 MB and 300 pages content.media.id = document URN
Link (article) No URL scraping: you send the title, description and thumbnail yourself content.article
Poll Organic posts only content.poll
Carousel Sponsored posts only; "organic carousel is currently not supported" -

Link previews are your job. The Posts API "does not support URL scraping for article post creation", so a link post without a title and a thumbnail image URN appears without the preview you expect.

WebP is not on the list. Convert WebP images to JPG or PNG before you upload them.

Visibility and targeting

visibility is required. It takes PUBLIC (anyone), CONNECTIONS (the owner's first-degree network), LOGGED_IN (signed-in members only) or CONTAINER (for posts inside a group, for example). For a company page, use PUBLIC: CONNECTIONS describes a member's network, and a page has followers.

Company pages can target a post to part of their followers. You add targeting facets (location, seniority, industry and others) in distribution.targetEntities, and the audience "must be greater than 300 members"; LinkedIn's Audience Counts API tells you the size first. Member posts cannot be targeted this way.

LinkedIn API limits

LinkedIn counts requests per day, not posts. The rate limiting page sets two limits, one per application and one per member per application, which "reset at midnight UTC every day". These are the numbers LinkedIn documents:

Limit Value Source
Share on LinkedIn, per member 150 requests a day Share on LinkedIn
Share on LinkedIn, per app 100,000 requests a day Same page
Community Management, Development tier 500 calls per app and 100 per member in 24 hours Increasing Access
Community Management, Standard tier No number published; the Development caps do not apply Same page and Rate limiting
Any other endpoint "Standard rate limits are not published"; see your app's Analytics tab Rate limiting

API calls, file uploads and what counts

A post with media makes two kinds of HTTP requests. API calls go to api.linkedin.com (initializeUpload, finalizeUpload for videos, POST /rest/posts). File uploads are PUT requests to the uploadUrl that LinkedIn returns for each file or video part. LinkedIn does not document whether file uploads count against the daily limits, so our checker reports them separately and counts only API calls against the documented caps.

Our calculation for a post with four images, checked against our mock of LinkedIn's API (the test counts every request our publishing script sends):

Step API calls File uploads
POST /rest/images?action=initializeUpload, once per image 4 -
PUT each image to its uploadUrl - 4
POST /rest/posts 1 -
Total: 9 HTTP requests 5 4

At those numbers, a member on the Development tier runs out after 20 such posts a day (20 Γ— 5 = 100 API calls), even before counting uploads. A page post checked first with organizationAuthorizations adds one more API call. A video adds initializeUpload and finalizeUpload plus one upload per 4 MB part; a document adds one call and one upload.

What to do with a 429:

  • Wait and retry. LinkedIn answers 429 when a limit is reached, and sometimes "as part of infrastructure protection".

  • Find your real limits in the Developer Portal. The Analytics tab shows only the endpoints your app called that day (UTC), so make one test call first.

  • Expect late warnings. Developer admins get an email at 75% of the app's quota, about one to two hours later, and never for member-level limits.

Tokens and versions: what keeps a LinkedIn integration posting

Access tokens currently last 60 days, and most apps cannot renew them in the background. The authorization code flow says "currently, all access tokens are issued with a 60-day lifespan" and returns the real value in expires_in. Store the expiry from expires_in (and refresh_token_expires_in when present), not a hard-coded 60. Programmatic refresh tokens are available to approved Marketing Developer Platform partners: LinkedIn says they last 365 days and refreshing does not extend them. Every other app sends the member through the authorization flow again; if the member is still signed in and the token has not expired, LinkedIn skips the consent screen.

Three more token rules to design for:

  • Changing scopes logs everyone out. If you request a different scope than the one granted before, "all the previous access tokens are invalidated".

  • Leave room for long tokens. LinkedIn's tokens are about 500 characters, and it recommends handling at least 1,000.

  • LinkedIn can revoke tokens "at any time", so treat a 401 as "ask the member to reconnect".

Every call needs a Linkedin-Version header in YYYYMM format. LinkedIn releases a version every month and supports each for at least one year; "the latest version is not applied by default". A missing header returns VERSION_MISSING, and a retired version returns HTTP 426 with NONEXISTENT_VERSION. On 30 November 2026, LinkedIn's versioning page lists 202611 as the latest version; its migrations page shows 202511 sunset on 16 November 2026, and every page carries the notice that 202601 will be sunset on 15 January 2027. The examples in this guide use the 202611 documentation; we tested them against a mock, not against LinkedIn's live API. In practice, move your header forward at least once a year.

What LinkedIn's API terms say about automated posting

Three different things are easy to mix up: what the API allows, what the terms forbid, and what LinkedIn approves.

1. Posting through the API is allowed when a member authorizes it. LinkedIn offers w_member_social to "post, comment, and like posts on behalf of an authenticated member" and w_organization_social for pages. Publishing what a member asked your app to publish is the purpose of these permissions.

2. The terms forbid using the APIs "to automate posting". LinkedIn's API Terms of Use (last revised 13 December 2022) list among the general restrictions of section 3.1: "Use the Content or the APIs to automate posting on the LinkedIn Services." The terms do not define "automate posting", and no LinkedIn page we read draws the line between an authorized post and an automated one.

3. LinkedIn approves apps for specific use cases. Company page access depends on the Community Management review, and LinkedIn's restricted uses page adds rules that affect posting tools, such as "Do not create fake profiles to manage ad accounts or use individual profiles to manage multiple customers' accounts", and no data storage beyond 48 hours for member social activity.

Our reading, as product builders and not as lawyers: design so that a person stands behind every post. The member or the page admin writes or approves each post in your app, and your app publishes what they approved, at the time they chose. This is good practice that matches the purpose of the permissions; it is not a guarantee that LinkedIn will consider your app compliant. Only LinkedIn interprets its terms. If an AI agent drafts your posts, our guide on how an AI agent can publish your social media posts safely explains the approval step, and our social media MCP server guide for Claude shows where that approval sits when Claude calls the tools.

Two more rules from the API Terms that affect posting apps:

  • Test profiles: you may create up to five test member profiles, by hand, and they may only share content with other test profiles.

  • Deleting data: when a user asks, or closes their account with you, you must delete what you collected for them, including their access token.

What you cannot do with the LinkedIn posting API

Some features of the LinkedIn app are not open to most API clients:

  • Read a member's posts: r_member_social is closed.

  • Schedule or save a draft on LinkedIn: only PUBLISHED is accepted on creation.

  • Post an organic carousel: carousels are for sponsored content only. A document (PDF) post is the usual organic alternative.

  • Read an image you uploaded with only w_member_social: LinkedIn says those tokens "would be unable to perform a GET call for rest/images".

  • Edit everything after publishing: a PARTIAL_UPDATE can change the commentary, the call to action and landing page, lifecycleState and sponsored fields; nothing else.

Deleting is simple: DELETE /rest/posts/{encoded URN} returns 204, also for a post that was already deleted. There is no batch delete.

Check your LinkedIn posts before you send them

We built a free checker that reviews a plan of LinkedIn posts against the rules in this guide, in JavaScript (linkedin-post-check.mjs) and Python (linkedin_post_check.py). It checks the author and scope, the page role and the Community Management tier, the version header, escaping and mentions, text length, images, video, documents, links, visibility, targeting, token expiry and daily API calls. It prints the POST /rest/posts body it would send, with the text escaped once, and the API calls and file uploads each post needs. It never calls LinkedIn.

node linkedin-post-check.mjs example-plan.json
python linkedin_post_check.py example-plan.json

We ran it on a first plan for Postwell, a fictional scheduling app with Share on LinkedIn and the Community Management Development tier, with six posts for two fictional members and one company page. It found 20 problems (12 errors and 8 warnings) before anything reached LinkedIn:

Checker results for six planned LinkedIn posts from a fictional app: 20 problems in the draft, none after the fixes
The worked example: six planned posts from a fictional app, checked before sending.
  • App: Linkedin-Version 202511, sunset on 16 November 2026.

  • Member posts: a token expiring three days after publishing; three photos sent as a single-image post, one in WebP, one of 48 megapixels and one without alt text; a carousel, which only sponsored posts can use; a plan to read the post back with the closed r_member_social.

  • Page posts: an ANALYST trying to post, a token with w_member_social instead of w_organization_social, a DRAFT state, CONNECTIONS visibility and an AI-generated post with no approver; a link over http:// with no title or thumbnail; a MOV video of 820 MB; and targeting to 240 followers.

The fixed plan returns no errors and no warnings. The fixes were version 202611, reconnecting the member, a multi-image post with JPG and PNG files under the pixel limit, a PDF document instead of the carousel, a CONTENT_ADMINISTRATOR with w_organization_social, an approver for the AI draft, an https:// link with title and thumbnail, an MP4 of 310 MB and an audience of 1,850 followers.

What a clean result means, and what it does not

A clean result means no documented rule is broken. It does not mean LinkedIn will accept the post. The checker cannot see whether your app passed review, whether the member still has the page role today, whether a mention name matches, or what your endpoint's real rate limit is. Check those in the Developer Portal and with organizationAuthorizations.

The publishing script stops before it can post twice. linkedin-post-example.mjs runs the checker, asks organizationAuthorizations for ORGANIC_SHARE_CREATE before a page post, uploads the media, creates the post and returns the URN. It retries 429 responses, honouring Retry-After, and server errors on uploads, but never retries the create call after a server error or a timeout: LinkedIn has no idempotency key, so the post may already exist, and member posts cannot be read back to check.

What we tested, and what we did not. On 30 November 2026 we ran every test below ourselves. All of them run locally: the checker against its test cases, and the publishing script against a mock of LinkedIn's API that we wrote from the documentation. We did not post to LinkedIn with them. Try the script on a test profile before you use it with real accounts.

Free resources

Preview of the one-page LinkedIn API post cheat sheet with products, roles, escaping, media rules and limits
Preview of the free LinkedIn API post cheat sheet (PDF).

Where LinkedIn's pages disagree

Six differences we found while checking this guide. None of them stops an integration, but each can cost you a debugging session:

  • Role name. The Posts API calls the content role CONTENT_ADMIN; the roles page calls it CONTENT_ADMINISTRATOR. Accept both when you read roles.

  • Sponsored content poster. The Posts API lists DIRECT_SPONSORED_CONTENT_POSTER for w_organization_social, but the role to permission mapping gives organic post creation only to administrators and content admins. Check ORGANIC_SHARE_CREATE instead of trusting the role name.

  • Video size. The Videos API says files go "between 75kb and 500MB", while the same page's upload field says the "maximum allowed Videos size is 5GB". Stay under 500 MB.

  • Token lifetimes in the examples. The refresh token page says access tokens last 60 days and refresh tokens a year, but its sample responses show "expires_in": 86400 (one day) and "refresh_token_expires_in": 525600, which is about six days in seconds (525,600 is the number of minutes in a year). Read the values from the response; do not hard-code them.

  • Old endpoint on the self-serve page. The Share on LinkedIn page (last updated 5 February 2025) still shows POST /v2/ugcPosts and assets?action=registerUpload, while the Posts API says it "replaces the ugcPosts API". New integrations should use /rest/posts with a version header.

  • Text limit. The 3,000-character limit is in LinkedIn Help, not in the Posts API reference, which states no maximum.

When a unified API is the shorter path

Member posting is quick to start; company pages and upkeep take the time. The Community Management review, the 60-day reconnections and the yearly version moves are work that every LinkedIn integration repeats, and you repeat it for every other network you add; our comparison of unified social media APIs vs native APIs puts numbers on that work, and our guide on how to post to multiple social networks with one API call shows what changes per network.

Where APIWings stands with LinkedIn, according to its public status on 29 November 2026 (llms.txt): the APIWings social media API publishes text and image posts to LinkedIn member profiles, video is not supported yet, and company pages open once LinkedIn approves our Community Management access. New teams get access on request. Our comparison of social media API limits shows how LinkedIn's rules compare with other networks.

Sources and review date

Every rule in this guide was checked on 30 November 2026. LinkedIn's Marketing pages were read for version 202611:

Page Last updated by LinkedIn What we took from it
Posts API and post schema 13 May 2026 and 30 Apr 2026 Permissions, roles, request, content types, visibility, targeting, updates, deletes
little text format 16 Oct 2025 Reserved characters, mentions, hashtags
Images, MultiImage, Videos and Documents 24 Jun, 30 Apr, 2 Mar and 24 Jun 2026 Media specs and uploads
Organization roles 30 Apr 2026 Roles, role states, organizationAcls
Organization Authorizations, overview and role mapping 30 Apr 2026 ORGANIC_SHARE_CREATE, permission, Approved and Denied
Community Management overview and App Review 15 May 2026 and 11 Feb 2026 Tiers, vetting, screencast, closed r_member_social
Increasing Access and Getting Access 19 Oct 2026 and 26 Jun 2025 Products, permissions, Development and Standard tiers
Restricted uses 29 Aug 2025 Profiles managing customers' accounts, data storage
Share on LinkedIn 5 Feb 2025 Self-serve product, daily request limits
Versioning and migrations 16 Nov 2026 Latest version, support window, sunset dates
Rate limiting 20 Aug 2025 Daily limits, 429, alerts
Authorization code flow and refresh tokens 17 Nov 2025 and 31 May 2025 Token lifetimes and renewal
API Terms of Use and LinkedIn Help 13 Dec 2022 (terms) Automated posting, test profiles, deletion; 3,000 characters

FAQ

Can I post to a LinkedIn company page with the API?

Yes, with the Community Management API. Your app needs LinkedIn's approval for it (a vetted product with a Development tier and a Standard tier), the w_organization_social scope, and a signed-in member who may create organic posts for that page: LinkedIn's mapping gives that to administrators and content admins. Check it with organizationAuthorizations (ORGANIC_SHARE_CREATE) before posting. The post uses urn:li:organization:{id} as its author.

What is the difference between w_member_social and w_organization_social?

w_member_social lets your app post as the member who signed in, to their own profile; it comes with Share on LinkedIn, which any developer can add. w_organization_social lets your app post as a company page where that member has a role that allows it; it comes with the Community Management API, which LinkedIn reviews first.

How many posts can I publish per day with the LinkedIn API?

LinkedIn limits requests, not posts. Share on LinkedIn documents 150 requests per member and 100,000 per app a day, and the Community Management Development tier allows 100 API calls per member and 500 per app in 24 hours. A post with four images takes 5 API calls plus 4 file uploads, so 20 of them fill a member's Development tier allowance. Limits reset at midnight UTC; the Standard tier's limits are shown in your app's Analytics tab.

Why do characters disappear from my LinkedIn API posts?

Because commentary uses LinkedIn's little format, which reserves characters such as ( ) [ ] { } @ # * _ ~ < > | \. Escape each of them with a backslash, except the # that starts a hashtag and the mentions you build on purpose. Escape only once: text that is already escaped shows its backslashes if you escape it again. In a JSON body, each backslash is written twice.

How long does a LinkedIn API access token last?

LinkedIn currently issues access tokens for 60 days and returns the exact lifetime in expires_in, so store that value. Approved Marketing Developer Platform partners also get refresh tokens that LinkedIn says last 365 days and are not extended by refreshing; other apps send the member through the authorization flow again before the token expires. Changing the scopes you request invalidates the previous tokens.