Skip to content
DocsOverview

Postbroad developer docs

One post goes to every network you connect. Your code uses the REST API, your AI agent uses the MCP server. Both run on your own accounts and keys, with the same checks and the same approval rules as the app.

  • API: https://app.postbroad.com/v1
  • MCP server: https://app.postbroad.com/mcp

#Three ways in

  • Call the API from your product. The quickstart schedules a first post in five calls. You need an API key, made in the app under Settings, then API.
  • Connect your AI agent. Claude, ChatGPT, Cursor, Codex, n8n and any other MCP client sign in in the browser; there is nothing to install. Start at the MCP server.
  • Connect a network with your own app. Some networks only connect through an app you make on them. The network guides take you through it, step by step.

#The first call

Create a post for one connected account. The answer is the post, with its revision and one delivery per destination.

curl
curl -X POST "https://app.postbroad.com/v1/posts" \
  -H "Authorization: Bearer $POSTBROAD_TOKEN" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{
    "brandId": "<brandId>",
    "baseText": "Hello from the API",
    "destinations": [{ "channelId": "<channelId>", "scheduledAt": "2026-12-21T09:00:00Z" }]
  }'
TypeScript
const res = await fetch("https://app.postbroad.com/v1/posts", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.POSTBROAD_TOKEN}`,
    "Idempotency-Key": crypto.randomUUID(),
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    brandId: "<brandId>",
    baseText: "Hello from the API",
    destinations: [{ channelId: "<channelId>", scheduledAt: "2026-12-21T09:00:00Z" }],
  }),
});
const post = await res.json();

Every write takes an Idempotency-Key; a retry with the same key never makes a second post.

#How a post moves

  1. Draft. A draft always saves. Problems are listed, not refused.
  2. Preview. Postbroad shows what would be sent where, checks it against each network's rules, and signs a receipt.
  3. Schedule or publish now, with that receipt. Nothing goes out that was not previewed.
  4. Delivery. Each network reports its own state: a post is never sent or failed as a whole.
  5. Live, with a link. A post counts as live only with evidence from the network.

Only failed networks are retried, and nothing is posted twice. The concepts explain each step.

#Everything in the docs

#What the API never does

  • An API key or an agent never makes another key. Keys are made and revoked by a person in the app; see Authentication.
  • An agent never approves a post. Approvals are a person's; see Approve or Autopilot.
  • Nothing is reported as published without evidence from the network; see what live means.
  • Posts made by keys and agents count on the same plan as posts made by hand; see pricing.

Why builders pick Postbroad is on postbroad.com/for/ai-builders, and the API in short is on postbroad.com/developers.

Last generated 23 Nov 2026, from the contracts the API runs on.