LinkedIn API

LinkedIn Posting API

Publish text posts, images, videos, and articles to LinkedIn profiles and company pages programmatically. PostPeer handles OAuth and token management so you can focus on building.

  • Post to personal profiles and company pages
  • Image, video, and article support
  • OAuth handled — no LinkedIn developer app needed
  • Cross-post to LinkedIn + other platforms in one request
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl -X POST https://api.postpeer.dev/v1/posts \
  -H "x-access-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "Excited to share our latest product update! Check it out.",
    "platforms": [
      {
        "platform": "linkedin",
        "accountId": "acc_li_123"
      }
    ],
    "publishNow": true
  }'

Response

JSON
{
  "postId": "post_abc123",
  "status": "published",
  "platforms": [
    {
      "platform": "linkedin",
      "status": "published",
      "platformPostId": "urn:li:share:7654321",
      "platformPostUrl": "https://www.linkedin.com/feed/update/urn:li:share:7654321"
    }
  ]
}

Everything You Need for LinkedIn Posting

Skip the LinkedIn API complexity. PostPeer gives you a simple, unified endpoint for all LinkedIn publishing needs.

Profile & Company Page Posting

Post to personal LinkedIn profiles or company pages with a single API call. PostPeer manages the OAuth flow for both account types.

Rich Media Support

Upload images and videos to LinkedIn posts. PostPeer validates media against LinkedIn's specs and handles the upload process.

Article Sharing

Share links and articles with custom text. LinkedIn automatically generates previews from the URL you provide.

Scheduled Posting

Schedule LinkedIn posts for any time with timezone support. PostPeer queues and publishes at the exact moment you specify.

Cross-Platform Publishing

Post the same content to LinkedIn + Twitter + Instagram + more in a single API request. Platform-specific formatting is handled automatically.

No OAuth Complexity

Your users connect their LinkedIn accounts through PostPeer's OAuth flow. No need to create a LinkedIn app, manage tokens, or handle refresh logic.

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin", "instagram], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform