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.

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/v1

Docs

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

Call POST /posts/preview with a caption, time, platforms: ["linkedin"], and optional media. Full field reference is in the API docs.

Example LinkedIn post
curl -s -X POST "https://postwing.io/api/v1/posts/preview" \
  -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",
  "platforms": [
    "linkedin"
  ],
  "media_items": [
    {
      "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 set platforms to linkedin.

  • Schedule LinkedIn text, image, and video posts
  • Upload media with a direct upload URL
  • Use per-account captions when you need them
  • Preview → confirm so nothing schedules without approval
  • 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. No extra platform_options fields are required.

  • Preview → confirm so nothing schedules without approval
  • API key or OAuth with scoped access

one API

Same API for every network

There is no separate LinkedIn product. Pass platforms or targets[] on the same preview → confirm flow. 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/preview with the networks you want on that post

Confirm with the token. One key covers every platform PostWing supports.

questions

LinkedIn posting API FAQ

Yes. Send media_items with type image or video, set platforms to linkedin, then preview and confirm.

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