LinkedIn API for developers

The LinkedIn Page API,without the app review

Publish posts, PDF document carousels, polls and links as your Company Page. Answer comments and mentions, and read Page analytics. 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_page"],
04 "media_urls": ["https://cdn.example.com/sdks.jpg"],
05 "schedule_at": "2026-10-22T18:00:00Z",
06 "linkedin_page": {
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 Page 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 with the Community Management API approved, twelve scopes, a picker for the Pages you admin and a comment webhook a Super admin subscribes per Page. 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, posted as your Page. 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 the Page right after the post goes live.
media_urlslinkedin_page.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_page.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_page.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 Page once, post from code

Sign in with LinkedIn once inside OmniSocials and pick the Page. Create an API key, and your code posts, replies and reports for that Page.
Pick the Page
Sign in with LinkedIn and pick a Page you’re an admin of. With one admin Page, it’s picked for you.
A key per workspace
A key only reaches its own workspace. Inbox access is switched on per key.
What the Page can post
The accounts call lists the Page with the formats it takes, and says when it needs a reconnect.
GET /v1/accountscontent_types

Answer comments and mentions

List the comments on your Page’s posts and the posts that mention your Page, then reply as the Page from your own code. LinkedIn’s API has no DMs.
Comments
Reply under the comment, as the Page. LinkedIn’s API shares no commenter names, so they show as a private account.
/conversations/:id/replymessage_id
Mentions
Posts that mention your Page show up in the same list, next to the comments on your own posts.
type=mention
Next unanswered
Ask for the next comment still waiting for an answer, then reply. Your agent does the same over MCP.
/inbox/nextreply_to_inbox

“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 your Page reports

Impressions, unique impressions, reactions by type, comments, shares, clicks and LinkedIn’s engagement rate per post. The Page adds followers, new followers and page views per day.
Per post
Impressions, unique impressions, reactions by type, comments, shares, clicks and LinkedIn’s own engagement rate. Videos add views and watch time.
/analytics/posts/:id
Per Page and workspace
Followers, new followers, impressions, clicks and page views per day. Follower demographics are collected once a week.
/analytics/accounts/analytics/overview
Best times to post
Days and hours worked out from your own Page 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
Replies1,000 a day per workspace
Rate limit100 requests a minute per API key
AccountsOne Company Page per workspace

Your first Page post in three steps

About five minutes from sign-up to a scheduled post on your Company Page. 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 Page
Sign in with LinkedIn in OmniSocials once and pick the Page. Then list it 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