LinkedIn API for AI agents
Let an AI agent publish and schedule LinkedIn posts with images through one Chirpie API key or MCP tool, with no LinkedIn developer app of your own.
Updated October 2026
How do you post to LinkedIn from an AI agent?
Connect your LinkedIn profile to Chirpie once with OAuth, then let the agent call POST /api/v1/posts or the chirpie_post MCP tool. Chirpie handles LinkedIn's Posts API, image upload, token refresh and the 3,000 character limit. Schedule a week of posts in one go, or publish the same announcement to LinkedIn and your other networks in one request.
What Chirpie does on LinkedIn
- Posts of up to 3,000 characters on your LinkedIn profile, published now or at a scheduled time.
- Media: up to 4 images (JPEG, PNG or GIF, 8 MB each) with alt text up to 4,000 characters. See Media.
- Threads: LinkedIn has no reply chains, so each part of a thread is published as its own post, in order. See Threads.
- Analytics: likes, shares and comments for each post. See Analytics.
- Scheduling, drafts and editing: queue posts in your own timezone, save drafts, and edit a post until it goes out. See Scheduling.
- Several accounts at once: one request publishes to LinkedIn and your other networks, with longer LinkedIn text in
account_configurationswhen you want it. See Post to several accounts at once. - Delete: removes the post from LinkedIn and keeps Chirpie's record of it, marked deleted.
LinkedIn Company Pages
Connecting LinkedIn Company Pages is coming soon. Today Chirpie posts to the LinkedIn profile you connect.
Connect your LinkedIn account
LinkedIn connects with OAuth. Pick LinkedIn on the Accounts page, or start the flow from the API and open the authorization_url it returns:
curl -X POST https://chirpie.ai/api/v1/accounts \
-H "Authorization: Bearer chirpie_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "platform": "linkedin" }'From the terminal, chirpie accounts connect-linkedin. From an agent, ask it to "connect my LinkedIn" and it calls chirpie_connect_linkedin and hands you the link.
Post from code
curl -X POST https://chirpie.ai/api/v1/posts \
-H "Authorization: Bearer chirpie_sk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"account_id": "YOUR_LINKEDIN_ACCOUNT_ID",
"text": "We are hiring a founding engineer. Remote, Americas time zones.",
"schedule_at": "2026-11-03T09:00:00",
"timezone": "America/New_York"
}'import { ChirpieClient } from "@chirpie/sdk";
const chirpie = new ChirpieClient({ apiKey: process.env.CHIRPIE_API_KEY! });
await chirpie.createPost({
account_id: "YOUR_LINKEDIN_ACCOUNT_ID",
text: "Three things we learned running agents in production this quarter.",
media: [{ url: "https://example.com/chart.png", alt: "Chart of weekly agent runs" }],
});The full request reference is Posts.
Post from Claude or ChatGPT
Add Chirpie to Claude from its listing in the Claude Connectors Directory, or add https://chirpie.ai/mcp as an app in ChatGPT developer mode, and sign in. Then ask:
- "Write a LinkedIn post announcing our webinar and schedule it for Tuesday at 9am New York time."
- "Turn this blog post into five LinkedIn posts and spread them across next week."
- "How did last week's LinkedIn posts do?"
Setup guides: Claude, ChatGPT. A walkthrough is in Schedule a week of LinkedIn posts with an agent.
Frequently asked questions
Do I need a LinkedIn developer app to post with Chirpie?
No. You connect your LinkedIn profile to Chirpie with OAuth, and Chirpie makes the LinkedIn API calls, including token refresh, for you.
How long can a LinkedIn post be?
3,000 characters. Chirpie checks the length before anything is sent and answers 400 with the limit if the text is longer.
Does LinkedIn support threads through Chirpie?
LinkedIn has no reply chains, so a thread sent to a LinkedIn account is published as standalone posts in order. That lets one thread request cover X, Bluesky, Mastodon and LinkedIn together.
Can an AI agent post to a LinkedIn Company Page?
Connecting LinkedIn Company Pages is coming soon. Today Chirpie posts to the LinkedIn profile you connect.
Can Chirpie post video to LinkedIn?
Not today. LinkedIn posts through Chirpie take up to 4 images (JPEG, PNG or GIF, up to 8 MB each). A video sent to a LinkedIn account is refused with 400 unsupported_media rather than dropped.
Bluesky API for AI agents
Let an AI agent post, thread, schedule and read replies on Bluesky through one Chirpie API key or MCP tool, connected with a Bluesky app password.
Mastodon API for AI agents
Let an AI agent post, thread, schedule and answer replies on any Mastodon server through one Chirpie API key or MCP tool.