Get started

Outboxer developer documentation

Build on the publishing layer AI agents write to — REST API, MCP server, webhooks, code samples and case studies.

Outboxer is the publishing layer for AI agents. Your agent drafts social posts through an API. Outboxer checks every draft against each platform's rules and your brand's design system, routes it to a human for approval, publishes it to X, LinkedIn, Facebook, Instagram, Threads, TikTok, YouTube, Pinterest and Google Business Profile, and reports back what happened.

Every action in the Outboxer web app is an API call. Anything a person can do, an integration or an agent can do too, within the permissions a human grants it.

 your agent / app ──▶ REST API v1 ──▶ validation ──▶ human review ──▶ scheduler ──▶ 9 social platforms
        ▲                 │                                                         │
        │                 └── MCP server (Claude, Cursor, …)                        │
        └──────────────── webhooks: published, failed, comments, low balance ◀──────┘

Start here#

Quickstart From an API key to a published post in five calls. About 10 minutes.
Core concepts Organizations, workspaces, channels, posts and variants, the post lifecycle, validation, approval, billing.
Authentication & keys User keys, agent keys, key restrictions, creating an agent and its key through the API.
API reference Every endpoint with parameters, permissions, and examples in curl, TypeScript and Python.

Build#

Code samples Complete, tested programs in curl, TypeScript, Python, PHP, Go, Ruby and Java.
Conventions Ids, times, pagination, idempotency, If-Match, errors and their codes, rate limits.
Scopes & permissions What each scope allows, agent defaults, and what always needs a human.
Agent workflows Step-by-step recipes with real requests and responses.
Webhooks Every event, the payload envelope, signature verification, retries.
MCP server Use Outboxer from Claude Desktop, Claude Code, Cursor or any MCP client. Connections need your organization's approval.
Billing & credits Prepaid credits per organization, price per published post, card top-ups.
Engagement Follow-up comments, the inbox, replies and keyword auto-replies.
Media Uploading images, video, GIFs and PDFs, processing, platform derivatives and limits.

Learn from real-world setups#

Case studies show complete architectures, with code: an agency running thirty brands with one AI copywriter, a product-launch pipeline driven by a store webhook, a solo founder publishing from Claude, community engagement automation, and a metrics pipeline into a data warehouse.

At a glance#

Base URL https://api.outboxer.dev/v1
Auth Authorization: Bearer obx_live_…
Format JSON; errors are RFC 9457 application/problem+json with a stable code
Safe retries Idempotency-Key on every POST (24 h replay window)
Concurrency ETag / If-Match on posts and the design system
Discovery openapi.json, GET /v1/capabilities, /llms.txt
Events HMAC-signed webhooks (Outboxer-Signature)
Agents Hosted MCP server at https://mcp.outboxer.dev/mcp with scope-gated tools

Principles#

  • Humans stay in control. Agents draft. Approving and publishing need scopes that agents never get by default.
  • Fail before publish time. Every write is validated, and so is every post again five minutes before it goes out. Issues come with a JSON path and a fix hint an LLM can act on.
  • Safe to retry. Idempotency keys, optimistic concurrency and crash-safe publishing mean a retry never posts twice.
  • Text from people is data. Comments, briefs and inbox messages are labelled as untrusted text, so an agent never treats them as instructions.