# Postaki for developers and AI agents

Postaki prepares social media posts for small businesses. The API and the MCP server let your code or an AI assistant
(Claude, ChatGPT, Cursor, or any client that speaks MCP) create posts, check them against each platform's rules, upload
photos and videos, and send posts for approval. This is a beta: the API is open to workspaces on the beta plan, it is
free while the beta lasts, and details can still change. Changes are listed in the [changelog](https://postaki.io/docs/changelog/).

> **A person always approves.** An API key, an OAuth app or an MCP client can create drafts and send them for approval.
> None of them can approve, retry or publish a post. Approval is a person's act inside Postaki, recorded with who, when
> and on which device. A post you send through the API waits in "Awaiting approval" until a person approves it.

## What you can do

- Read the workspace's brands and channels, and what each channel can take: formats, media rules, text limits and the
  options with their allowed values (for TikTok, the account's own settings, read live).
- Create a post with a text per channel, media and a time, check it first with a dry run, and send it for approval.
- Upload media with a signed URL, or let Postaki fetch it from a public https address.
- Get a webhook when a post waits for approval, is approved, is sent, fails, or a channel needs to be reconnected.
- Do the same from an AI assistant through the MCP server.

Every platform rule of the Postaki app holds in the API, because both use the same code: TikTok privacy levels with
no default, YouTube title and "made for kids", Instagram carousels, LinkedIn visibility, Threads limits. A post that
breaks a rule is refused with the same sentence the app shows, per channel and field.

## Declared AI content

`ai_generated` is required on every post created through the API or the MCP server: `true` or `false`, with no default.
It sets the platform's AI label on every copy that has one (TikTok, YouTube, Meta and LinkedIn where the app has the
box). Say it honestly: if the text or media was written or altered by AI, send `true`.

## Where to start

1. [Quick start](https://postaki.io/docs/quick-start/): a key, your first post, and where a person approves it.
2. [Authentication](https://postaki.io/docs/authentication/): API keys and OAuth 2.1.
3. [Agent setup](https://postaki.io/docs/agent-setup/): connect Claude, ChatGPT or Cursor in a few minutes.
4. [Concepts](https://postaki.io/docs/concepts/): brands, channels, posts and their copies, approval, media.
5. [API reference](https://postaki.io/docs/api-reference/) and the [MCP tool reference](https://postaki.io/docs/mcp-tools/).

## Addresses

| What | Address |
|---|---|
| REST API | `https://app.postaki.io/api/v1/` |
| OpenAPI 3.1 file | `https://app.postaki.io/api/v1/openapi.json` |
| MCP server (Streamable HTTP) | `https://app.postaki.io/mcp` |
| OAuth 2.1 metadata | `https://app.postaki.io/.well-known/oauth-authorization-server` |
| These docs | `https://postaki.io/docs/` |

Every page of this wiki is also available as Markdown (add `.md` to the address, for example
`https://postaki.io/docs/quick-start.md`), and the whole wiki is in one file at
[llms-full.txt](https://postaki.io/llms-full.txt). The list of pages for agents is at
[llms.txt](https://postaki.io/llms.txt).

## Access and limits

The API is part of the workspace's plan (plan limit `api`); the beta plan includes it. A workspace without it gets 403
`api_not_in_plan`. Limits are 120 requests a minute and 5,000 a day per key or app, and 100 posts a day per workspace:
see [Rate limits](https://postaki.io/docs/rate-limits/). Nothing is charged during the beta, and prices will be announced before it ends.

You manage keys, connected apps, webhooks and the request log in the Postaki app, under Settings, "For developers", "API keys and webhooks".

Greek: [Επισκόπηση στα ελληνικά](https://postaki.io/docs/el/) and [σύνδεση του Claude, του ChatGPT ή του Cursor](https://postaki.io/docs/el/agent-setup/).
