LinkedIn API for developers

The LinkedIn Profile API,without the app review

Publish posts, PDF document carousels, polls and links to your personal profile, with the link in a first comment. Read what each post reached. One API key, on OmniSocials’ approved LinkedIn app.
Webhooksyour-app.com/hooks
post.scheduledpost 1024just now200
post.publishedpost 10192 h ago200
post.approvedpost 10193 h ago200
POST/v1/posts/createapplication/json
01{
02 "content": "SDKs in 8 languages. Docs in the first comment.",
03 "accounts": ["linkedin"],
04 "media_urls": ["https://cdn.example.com/sdks.jpg"],
05 "schedule_at": "2026-10-22T18:00:00Z",
06 "linkedin": {
07 "first_comment": "https://omnisocials.com/sdk"
08 }
09}
Sending201 Created412 ms
Send
10{
11 "data": {
12 "id": "1024",
13 "status": "scheduled",
14 "app_url": "https://app.omnisocials.com/create-post/1024"
15 }
16}
A request creates a LinkedIn profile post with a first comment for Thu 22 at 18:00; it appears in the OmniSocials calendar and the webhook post.scheduled fires.
Your coding agent runs the same calls through the CLI

Skip the LinkedIn app review

LinkedIn’s own API needs a developer app, the Community Management API approved, twelve scopes and a token refresh before day 60. Then come Development tier quotas and the upload steps for images, documents and video. OmniSocials already did that work.

Every format, one request

Text, an image, a video, a PDF document, a poll or a link card share one request shape. Add media URLs, a poll or a link and a time. OmniSocials checks the post against LinkedIn’s rules before it uploads.
Posts and first comments
Text with an image or a video. Put the link in a first comment, posted as you right after the post goes live.
media_urlslinkedin.first_comment
Documents
Two or more images go out as a swipeable PDF document. A PDF you send goes out as the original file.
media_urlslinkedin.document_source
Polls
A question, 2 to 4 options and a duration from 1 day to 2 weeks. A poll can’t carry media or a link card.
linkedin_poll

Document carousels, without the PDF work

LinkedIn has no image carousel. Send two or more images and OmniSocials builds the swipeable PDF document. Send a PDF and LinkedIn gets the original file. Or post the images as a gallery.
Original PDF
Send a PDF URL and LinkedIn gets the file itself, with sharp text, working links and up to 300 pages. Other channels get its pages as images.
media_urlslinkedin.document_source
Document carousel
Two or more images become one swipeable PDF document, titled with the caption’s first line. For a PDF, slides rebuilds it from the page images.
document_source: "slides"
Image gallery
Prefer LinkedIn’s classic multi-image post? Set carousel_as_images and the images go out as a gallery instead.
carousel_as_images: true

Connect your profile once, post from code

Sign in with LinkedIn once inside OmniSocials. Create an API key, and your code posts and reports for your profile.
LinkedIn sign-in
Sign in with LinkedIn and your profile connects, no picker. Your Company Page is a channel of its own.
A key per workspace
A key only reaches its own workspace. Each workspace connects one personal profile.
What the profile can post
The accounts call lists the profile with the formats it takes, and says when it needs a reconnect.
GET /v1/accountscontent_types

“The MCP is the real game changer for me. It makes the whole workflow feel much faster and less messy.”

Ansub Khan
Founder of Supafast

Read what LinkedIn reports

Impressions, members reached, reactions by type, comments, reposts, saves, sends and link clicks per post. The API returns the same numbers the app charts.
Per post
Impressions, reach, reactions by type, comments, shares, saves, sends, link clicks, follows and profile visits. Videos add views and watch time.
/analytics/posts/:id
Per profile and workspace
The profile’s followers and its daily impressions, likes, comments and shares. Plus a workspace overview.
/analytics/accounts/analytics/overview
Best times to post
Days and hours worked out from your own LinkedIn history, once 15 of your posts are analyzed.
/analytics/best-times
Under the hood

Built for production

Signed webhooks, automatic retries, SDKs in 8 languages and a key per workspace. Create a key and send your first request in minutes.
Webhooks
Signed events for every post
Retries
Failed posts retry on their own
SDKs
One request shape in 8 languages
API keys
One key per workspace
Agents
Your coding agent posts too

LinkedIn’s rules, in one place

OmniSocials checks every post against them before it reaches LinkedIn, so a bad file fails in your request, not at publish time.
Text3,000 characters
First comment1,250 characters
ImagesJPEG, PNG, GIF or WebP, up to 10 MB each
MediaImages or one video per post, not both
PDF documentsThe original file up to 100 MB, 300 pages
VideoMP4 or MOV, up to 30 minutes
PollA 140-character question, 2 to 4 options of 30
Poll length1 day, 3 days, 1 week or 2 weeks
Rate limit100 requests a minute per API key
AccountsOne personal profile per workspace

Your first LinkedIn post in three steps

About five minutes from sign-up to a scheduled post on your profile. Then hand the key to your coding agent.
Create an API key
Start your trial, open Settings, API and create a key. It is shown once.
Settings › API
Step 1
Connect your profile
Sign in with LinkedIn in OmniSocials once. Then list the profile from your code.
GET /v1/accounts
Step 2
Send your first post
Post now with create-and-publish, or add schedule_at to plan it.
POST /v1/posts/create
Step 3

Frequently
Asked Questions

Robert Ligthart
Robert LigthartFounder of OmniSocials
Ask me a question

Robert Ligthart
Still have a question?Ask Robert, the founder
Ask

Ship your LinkedIn
integration this week.

From $10 per seat a month, API included. 14-day free trial.
https://docs.omnisocials.com/platforms/linkedin