API & Developer Tools
Schedule posts, manage accounts, and upload media programmatically. Build your own integrations, automate workflows, or connect PublishQ to your existing tools.
{
"accounts": [
{ "accountId": "acc_x",
// X gets a shorter text, and a poll instead of the photo
"postOverrides": {
"content": "Do you ever miss home? 🏡",
"mediaIds": []
},
"platformSpecificSettings": {
"poll": { "options": ["All the time", "Not really"], "durationMinutes": 1440 }
}
},
{ "accountId": "acc_linkedin" }
],
"content": "Some evenings in Madrid I miss home more than I expected. New post on the blog: do you ever miss home?",
"mediaIds": ["med_9f8e7d"],
"publishNow": true
}X (Twitter)
Do you ever miss home? 🏡
0 votes · 1d left
LinkedIn
Some evenings in Madrid I miss home more than I expected. New post on the blog: do you ever miss home?

The PublishQ API is a REST API that lets developers schedule posts, upload media, and manage social accounts programmatically across all supported platforms. API access is included on all plans. Full OpenAPI documentation is available at publishq.com/docs.
Last updated: May 2026
How it works
Generate an API key
Create an API key from the API Keys page and send it as a Bearer token with every request.
Send one request
POST the text, the media and the accounts to /api/v1/posts. Publish now, schedule it, or save it as a draft.
Automate the rest
Call it from your CMS, a cron job, a CI pipeline or an AI agent, with the SDK, the CLI or the MCP server.
Generate an API key
Create an API key from the API Keys page and send it as a Bearer token with every request.
Send one request
POST the text, the media and the accounts to /api/v1/posts. Publish now, schedule it, or save it as a draft.
Automate the rest
Call it from your CMS, a cron job, a CI pipeline or an AI agent, with the SDK, the CLI or the MCP server.
What you get with API & Developer Tools
One request, every account
List the accounts in one POST /api/v1/posts call. The same post goes to LinkedIn, Instagram, X and the rest at once.
Its own version per account
postOverrides gives one account its own text or its own media, while the others share the post.
Every platform setting
platformSpecificSettings carries the options each platform has: YouTube tags, TikTok privacy, X polls and more.
Now, later or as a draft
Set publishNow to publish straight away, scheduledAt for a time in the future, or neither to keep a draft. Let an AI agent write drafts, then review them in the dashboard before anything goes out.
Videos up to 4 GB
Upload videos up to 4 GB and images up to 50 MB from your code. Ask for an upload URL and the file goes straight into storage.
Change your mind
Update a draft or scheduled post, delete it, or take a single account off it before it goes out.
Accounts and workspaces
List your connected accounts and workspaces, and create a workspace for a new client from code.
SDK, CLI and MCP server
Use the TypeScript SDK in your app, the CLI in a script, or the MCP server to let an AI agent post for you.
OpenAPI documentation
Every endpoint, field and error is documented at /docs, with request and response examples.
Frequently Asked Questions
Common questions about API & Developer Tools
No credit card required • Set up in under 3 minutes

me 👋
Hi, I'm Alexandro 👋
I left my Software Engineer role at Amazon to build tools that solve real problems, the kind big companies ignore because they read spreadsheets instead of using their own products.
I was spending over an hour daily just scheduling 2 shorts across 3 platforms: logging in, reformatting, uploading one by one. That felt broken. So I built PublishQ . Now I create 4 shorts in 3 minutes and schedule them to 4 platforms in under 30 seconds.
PublishQ is bootstrapped. No investors, no vanity metrics. I build what actually helps you, because I use it every day myself.
Thank you,
Alexandro
Plans from $14/mo
2 months free on yearly billing. Upgrade or cancel anytime.
- Free
- $0/mo
- Solo
- $14/mo
- Starter
- $29/mo
- Professional
- $49/mo
- Business
- $99/mo
Explore related
Quick Start
Get started with the PublishQ API.
Create Posts
API reference for Create Posts.
MCP Server
API reference for MCP Server.
CLI
API reference for CLI.
SDK
API reference for SDK.
Write Once, Post Everywhere
Write one post, add photos and watch it take shape for Facebook, Instagram, Threads and every other platform as you type. Then publish everywhere at once.
The social media MCP server for AI agents
One MCP server gives any MCP client tools to list your connected social accounts, upload media, and publish or schedule posts.
The social media CLI for humans and AI agents
Install @publishq/cli, sign in through your browser and post from a shell. JSON output by default, one command per action, and PUBLISHQ_API_KEY for CI and cron.
The social media SDK for agents and backends
Install @publishq/sdk for typed calls that publish to Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Threads and Bluesky from Node or your own agent.
Bulk upload YouTube videos and schedule them one a day
Bulk upload YouTube videos from a folder with Claude Code, Codex or the PublishQ CLI, schedule one per day, and get back a list of what was scheduled.