LinkedIn API for developers and AI agents

LinkedIn publishing without rebuilding account connection, organization targeting, media upload, queues, and webhook status events.

No credit card required

import { KavenioClient } from "@kavenio/sdk";

const kavenio = new KavenioClient({
  authToken: process.env.KAVENIO_API_KEY,
});

// Send your user to this URL to connect their LinkedIn account.
const { authorizationUrl } = await kavenio.connect.begin({
  platform: "linkedin",
});

// Publish to the selected LinkedIn member or organization account.
await kavenio.posts.create({
  content: "Product update is live.",
  publishNow: true,
  mediaItems: [{ type: "image", url: "https://cdn.example.com/update.jpg" }],
  platforms: [
    {
      platform: "linkedin",
      accountId: "acct_linkedin_123",
      platformSpecificData: {
        firstComment: "More context: https://example.com/update",
        disableLinkPreview: true,
      },
    },
  ],
});

How it works

Connect the account, publish to a selected LinkedIn member or organization account, and run the workflow with REST, the CLI, or the SDK.
  1. kavenio.connect.begin(...)

    Create a LinkedIn connect URL and send the user through authorization for the member account they want to publish from.

  2. kavenio.posts.create(...)

    Publish now or schedule a LinkedIn member post, organization post, media post, document post, or reshare for the selected connected account.

  3. kavenio.webhooks.create(...)

    Trigger your automation when LinkedIn publishing succeeds, fails, or needs attention instead of polling for state.

Formats

Publish the LinkedIn formats your product needs

Let customers publish member posts, organization posts, media, documents, first comments, and reshares without building a separate LinkedIn-only path.
Text posts
Image posts
Video posts
Document posts
First comments
Reshares
Organization targeting
Link preview control
Developer workflow

Build LinkedIn publishing without provider plumbing

Keep your product focused on the customer workflow while the API handles account connection, organization targeting, media upload, and status changes.

Member and organization publishing

Connect a LinkedIn member account, then publish as the selected member or organization account your user authorized.

Provider media upload

Pass public image, video, or document URLs and let the publish workflow upload the media before creating the LinkedIn post.

First comments and link control

Add the follow-up comment your workflow needs and control link preview behavior from the same request.

Queue and webhooks

Schedule posts, publish now, and trigger automation from status events instead of polling provider APIs.

App keys

Bring your own LinkedIn app when you need control

Use the Kavenio-managed LinkedIn app to get started, or connect through your own LinkedIn app when your team owns approvals, branding, and policy setup.

Use the Kavenio-managed LinkedIn app

Start testing LinkedIn member and organization publishing without configuring your own LinkedIn app first.

Bring your own LinkedIn app

Use your LinkedIn app credentials when your team owns approvals, branding, and policy setup.

Build the LinkedIn publishing workflow once

Stop rebuilding member connection, organization selection, media upload, first comments, retries, and status events for every product surface.

Reuse the same connect and publishing workflow for the next supported platform.

LinkedIn API questions

Practical details for building LinkedIn publishing into your product.

Can I publish LinkedIn posts through Kavenio?

Yes. Connect a LinkedIn account and publish member or organization posts through the same posts API used for other platforms.

Can I publish LinkedIn documents?

Yes. Send a public document URL and include a document title when the LinkedIn post should publish a document.

Can I publish multiple LinkedIn media items?

Yes for image-only posts. LinkedIn video and document posts are limited to one media item in the current publishing path.

Can I publish a LinkedIn reshare?

Yes. Pass a reshare URL or URN in the LinkedIn platform-specific data. Reshare posts cannot include media.