LinkedIn API

LinkedIn posting API for developers and agents

Schedule LinkedIn text, image, and video posts from one REST API. Built for scripts, custom apps, and AI agents.

  • 7-day free trial
  • Text + media
  • Plans from $9.99/mo

step by step

How to post to LinkedIn with the API

Create a key, connect LinkedIn, then schedule a post.

Open the step-by-step guide

01Create an API key

Open Dashboard → AI & API, create a key, and send it as Authorization: Bearer pw_live_…. Connect your LinkedIn account if you have not already.

Endpoints

API base URL

https://postwing.io/api/v2

Docs

https://postwing.io/docs
02Schedule to LinkedIn

Call POST /posts with a caption, a time, your LinkedIn account id from GET /accounts, and optional media. Full field reference is in the API docs.

Example LinkedIn post
curl -s -X POST "https://postwing.io/api/v2/posts" \
  -H "Authorization: Bearer pw_live_…" \
  -H "Content-Type: application/json" \
  -d '{
  "caption": "Update from the LinkedIn posting API",
  "scheduled_at": "2026-10-05T18:00:00Z",
  "accounts": [
    {
      "id": "LINKEDIN_ACCOUNT_ID"
    }
  ],
  "media": [
    {
      "url": "https://cdn.example.com/post.jpg",
      "type": "image"
    }
  ]
}'

what you can do

LinkedIn posting from one API

Same PostWing API as the full product, scoped to LinkedIn when you post to a LinkedIn account.

  • Schedule LinkedIn text, image, and video posts
  • Upload media with a direct upload URL
  • Use per-account captions when you need them
  • Schedule in one call; edit or cancel any time before it publishes
  • Edit or cancel scheduled LinkedIn posts from the same API

built for LinkedIn

Professional posts in one flow

Set a caption, optional media, pick a time, and target LinkedIn. No extra platform options beyond the caption.

  • Images and carousels for visual updates
  • Video posts for longer updates
  • Scheduled posts show up on your PostWing calendar

LinkedIn options

Keep it simple

LinkedIn uses caption only. There are no extra options.

  • Clear errors with a code and the exact field to fix
  • API key or OAuth with scoped access

one API

Same API for every network

There is no separate LinkedIn product. List more account ids in accounts on the same call. Add Instagram, TikTok, YouTube, LinkedIn, X, Facebook, Pinterest, or Threads without changing your integration.

  • LinkedIn
  • YouTube
  • Facebook
  • Instagram
  • X (Twitter)
  • Pinterest
  • Threads
  • TikTok

Connect accounts once in PostWing (or via the accounts endpoints)

Call POST /posts with every account you want on that post

It is on your calendar. One key covers every platform PostWing supports.

questions

LinkedIn posting API FAQ

Yes. Add images or a video in media and post to your LinkedIn account id.

ready when you are

Schedule your next LinkedIn post from the API

Create an API key, connect LinkedIn, and schedule posts from your app.

7-day free trial · Cancel anytime