LinkedIn API

LinkedIn's Marketing API requires partner program approval, complex URN-based auth, and separate endpoints for each content type. Zernio handles all of that with one POST for text, images, videos, and documents.

  • Free tier
  • No credit card
  • 99.97% uptime
Kestrel Studio4,182 followers

We doubled the team this year. Here is what we learned about hiring slowly.

LikeCommentRepostSend
Tuesday 48:00 AMScheduled

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
MoFlo
ClickUp
Readdy
RE/MAX
Moving Monkey®
How it works

Live in three steps, no LinkedIn app review

1

Profile

default

LinkedIn

Connect LinkedIn

Sign up for free, get your API key and connect LinkedIn accounts through our OAuth flow.

2

POST /v1/posts

const { data } = await zernio.posts.createPost({
  body: {
    content: 'We just shipped v2',
    mediaItems: [{ url: 'https://cdn.acme.com/launch.jpg' }],
    platforms: [
      { platform: 'linkedin', accountId: 'acc_8f2a' },
    ],
    scheduledFor: '2027-01-15T14:30:00',
    timezone: 'Europe/Madrid',
  },
});

Make one call

Send content to LinkedIn from one REST endpoint, right away or scheduled.

3

post.failed

Webhook sent to your app

Failed

Mon, 18 Jan

09:00, Europe/Madrid

Scheduled

We just shipped v2

Fri, 15 Jan at 14:30

Published

Track every post

Follow each post from scheduled to published, with a webhook when one fails.

Endpoints

LinkedIn endpoints on one REST API

EndpointWhat it does
POST/v1/postsCreate or schedule a LinkedIn post (text, image, video, or document)
GET/v1/posts/{id}Get status and details of a LinkedIn post
DELETE/v1/posts/{id}Cancel a scheduled LinkedIn post
GET/v1/profilesList all connected LinkedIn profiles and pages
Media specs

What you can upload to LinkedIn

Zernio transcodes and optimizes media for LinkedIn's requirements automatically.

linkedin/media-specs
TypeFormatMax sizeNotes
ImagePNG, JPEG, GIF8 MB1200x627 recommended
VideoMP45 GB3 sec - 10 min duration
DocumentPDF100 MBUp to 300 pages
Link PreviewURL + metadataTitle: 200 charsAuto-generated rich preview card
Capabilities

Everything the API handles for you

LinkedIn's API has daily limits based on your app tier. Zernio manages rate limits automatically, queuing posts when limits are approached.

Profiles and pages

Post to personal profiles and company pages.

Rich media

Share images, videos, and documents.

Scheduling

Schedule posts for your best engagement times.

Status webhooks

Get notified the moment a post publishes or fails.

Link previews

Links render as rich metadata cards.

Visibility

Choose public or connections-only per post.

Multi-account

Manage several LinkedIn accounts from one API key.

Response

What comes back from every call

Plain JSON back from every LinkedIn call, with the IDs and statuses your app needs to follow up.

cURL

$

{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "content": "Excited to announce our new API! 🚀\n\nWe just launched...",
    "platforms": [{
      "platform": "linkedin",
      "accountId": { "_id": "acc_abc123", "username": "acme-corp" },
      "status": "published",
      "platformPostId": "urn:li:share:7012345678901234567",
      "platformPostUrl": "https://linkedin.com/feed/update/urn:li:share:7012345678901234567"
    }],
    "publishedAt": "2025-01-10T10:30:00Z",
    "createdAt": "2025-01-10T10:29:55Z"
  },
  "message": "Post published successfully"
}

Start building with the LinkedIn API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime