Home / Features / API and MCP
API and MCP

Schedule posts from your own tools and AI agents

A public API, an MCP server for AI apps, a command line tool and signed webhooks, all included in every plan.

A Postozo public API request that schedules a post

What you can do

Public API

Create, list, move and delete posts, upload media and list channels. The paths and bodies follow the Postiz public API, so many existing scripts work after you change the address and key.

MCP server

Connect Claude, ChatGPT, Cursor or any MCP app. Sign in with OAuth or use your API key. up to 20 tools, from listing channels to scheduling posts.

Command line tool

Schedule posts from your terminal or CI with the postozo command.

Signed webhooks

Get events like post published, post failed and approval requested, signed with HMAC and tried up to 6 times.

n8n, Make and Zapier

Use the API from your automation tool of choice.

Your key, your control

Rotate your API key any time and see which AI apps are connected.

How it works

Use the social media API in 4 steps

Get your key

In the app, open Settings, Developers. Copy your API key, or let an AI app sign in with OAuth instead.

Pick how to connect

Call the public API over HTTP, run the postozo command line tool, or add the MCP server to Claude, ChatGPT, Cursor or another MCP app.

Check before you post

Ask for a channel's rules or check a post against every channel before saving it, the same checks the editor runs.

Listen for events

Add a webhook for the events you need. Each call is signed with HMAC and tried up to 6 times until your address answers.

Example: posts from an AI chat

A consultant adds the MCP server to Claude. She writes: "Plan 3 LinkedIn posts about our new course for next week and put them in my free slots." Claude lists her channels, finds free slots, checks each post against LinkedIn's rules and schedules them. She sees them on the calendar and edits 1 before it goes out. A webhook tells her CRM when each post is published.

The public API

The REST API follows the Postiz public API paths and bodies, so scripts written for Postiz work after you change the address and the API key. Owners and admins create the key in Settings, Developers. Creating a post accepts an Idempotency-Key header: send the same request twice within 24 hours and you get the first answer back instead of a second post. When you send too many requests, the answer is 429 with a Retry-After header. Every error has a plain message and a fix. The API reference has an example for every endpoint, and the same spec is published as an OpenAPI file.

MCP server and command line

The MCP server lets AI apps like Claude, ChatGPT and Cursor list channels, check a post against each network's rules, find free slots and schedule posts. You paste 1 link into the app's connector settings and sign in; no key to copy. The command line tool does the same from a terminal or a CI server: npm install -g https://postozo.com/downloads/postozo-cli.tgz.

Webhooks and OAuth apps

Webhooks send events, such as a post published or failed, or an approval requested, to your own address. Each message is signed with a sha256 HMAC of the body in the X-Postozo-Signature header, and a failed message is sent again up to 6 times. The last 50 deliveries are kept for 30 days so you can see what happened. If you build a product for other Postozo users, create an OAuth app: your users sign in with Postozo and you get a token for the API, MCP and CLI.

Limits and rules

APIEvery plan, no separate fee
WebhooksStandard 2, Team 10, Pro 30, Ultimate unlimited
Repeat requestsIdempotency-Key, kept for 24 hours
Rate limits429 with Retry-After
Deliveries keptLast 50 per webhook, for 30 days

API, MCP or CLI?

ToolUse it when
Public APIYour own app, website or script creates or reads posts
MCP serverYou want Claude, ChatGPT, Cursor or another AI app to plan and schedule posts for you
Command line (CLI)You work in a terminal or run jobs on a server or in CI
WebhooksYour tools should hear about posts published, failed or waiting for approval
OAuth appYou build a product that other Postozo users sign in to

What people build with it

An online shop that posts each new product to Instagram and Facebook from its own system. An agency dashboard that shows every client's scheduled posts in 1 place. A newsroom that publishes breaking news to 6 networks from its content system. A Slack alert for every failed post through a webhook and n8n. A team that plans with Claude and lets it schedule through the MCP server after a human check.

Tips to get more from it

  • Read a channel's rules through the API, or use the check_post tool over MCP, before you create posts from a script, so you catch the same problems the editor would show.
  • Store the API key as a secret in your automation tool. Rotate it if it ever ends up in a log.
  • Use the find free slot tool so posts from scripts and AI apps respect the posting times your team set.

Words on this page, explained

API keyA secret that lets your code act for your workspace. Keep it out of code you share.
MCPModel Context Protocol, a standard way for AI apps to use other tools.
WebhookA message Postozo sends to your address when something happens.
Idempotency keyA label on a request so that sending it twice does the work once.

Mistakes to avoid

  • Retrying a create call without an Idempotency-Key. Add one so a retry never makes a second post.
  • Ignoring Retry-After. Wait the time it says before the next request.
  • Not checking the webhook signature. Check it so only real messages from Postozo are trusted.

Who it is for

  • Marketing teams connect the calendar to their CRM and reports. See Marketing teams.
  • Agencies build their own client dashboards on top of the API. See Agencies.
  • Creators schedule posts by talking to their AI app. See Creators.

How other tools handle public API

Of the 12 social media tools we compare, 10 list public API on their own pricing, feature or help pages:

Not confirmed on their own pages: Later and Sendible.

Checked on 29 September 2026 on each tool's official website. Prices and features change, so check before you decide.

Plans and limits

The public API, MCP server and command line tool are in every plan. The number of webhooks grows with the plan. See Pricing for every limit.

LimitStandardTeamProUltimate
Public API, MCP and command line toolYesYesYesYes
Webhooks2103010,000

Developer docs

The developer docs have the details: the API guide, the API reference with an example for every endpoint, the MCP server tools, webhook events and signatures, the command line tool and OAuth.

Step by step guides for AI apps

Set up the MCP server or the API in the tool you already use:

See all AI agent guides.

Works with these channels

API and MCP works on every connected channel. These are the ones people use it with most:

See all channels, or compare Postozo with other tools on the compare page.

FAQ

Questions

Something else? Email support@postozo.com and a person will answer.

Where do I find my API key?

In the app under Settings, Developers.

What is MCP?

Model Context Protocol, a standard way for AI apps to use tools. With it, an AI app can read your channels and schedule posts for you.

Is the API included in every plan?

Yes.

Which webhook events are there?

Post published, post failed, post could not be confirmed, approval requested, post approved, changes requested, channel disconnected and plan changed.

Will my Postiz scripts work?

The public API follows the same paths and bodies as the Postiz public API, so many scripts work after you change the address and the key. Test yours first.

Is the social media API free?

It is included in every Postozo plan at no extra cost. There is no separate API fee.

What is a social media scheduling API?

An API that lets your own code create, move and delete scheduled posts. The Postozo API does this for all 30 channel types with 1 key.

Does the API cost extra?

No. It is in every plan.

Can I use the Postiz SDK or scripts?

Yes. Change the address and the key; the paths and bodies are the same.

Is there an OpenAPI file?

Yes, at postozo.com/docs/openapi.json, built from the same source as the reference.

Start planning your posts today

Create your account and publish your first post in 5 minutes.

7 day free trial. No card needed.