# Beplan developer docs: API, OAuth apps and MCP

Read and change a Beplan organization from your own code: plan and publish posts, manage media, Papers, deals and Clips. Three ways in, one API underneath.

> **Beta.** Every operation of the API is marked beta today: it may still change before it is marked stable. [Versioning](https://beplan.io/docs/guides/versioning/) says what that means for your code.

## What you can build

The API reaches what a person can do in the Beplan app, through the same rules: a script that schedules next week's posts from a spreadsheet, a tool that pushes approved media into a workspace's library, a tracker that follows your deals, a product that other Beplan users connect to their own account, or an assistant that plans posts in a conversation.

A few things stay in the app on purpose: signing in and account security, payments, deleting an organization, managing integrations themselves, deciding post approvals, and anything that runs Beplan's AI. [What the API never reaches](https://beplan.io/docs/concepts/access/#what-the-api-never-reaches) lists them.

## Three ways in

Every way in acts **as a person**. A token never does more than its person can do in Beplan, only in the organizations and workspaces they gave it, and only with the scopes they picked.

| | API token | OAuth app | MCP connector |
|---|---|---|---|
| For | Your own scripts and tools | A product other people connect to their Beplan | An AI assistant (Claude, ChatGPT, Cursor…) |
| Credential | A personal token (`beplan_pat_…`), made in Beplan under **Account → Developers** | Access and refresh tokens from the authorization-code flow with PKCE | The same OAuth flow, run by the assistant |
| Who signs in | Nobody: you paste the token | Each user, on Beplan's consent screen | Each user, on Beplan's consent screen |
| Talks to | `https://api.beplan.io/v1` | `https://api.beplan.io/v1` | `https://api.beplan.io/mcp` |
| Start here | [API token quickstart](https://beplan.io/docs/quickstart/api-token/) | [OAuth app quickstart](https://beplan.io/docs/quickstart/app/) | [MCP quickstart](https://beplan.io/docs/quickstart/mcp/) |

How to choose:

- **Only you will use it**: an API token. Nothing to register, nothing to host.
- **Other Beplan users will connect it**: an OAuth app. Each person signs in, picks what your app may do and where, and can remove it at any time.
- **You want to talk to Beplan from an assistant**: the MCP connector. Paste the address into the assistant and sign in.

## Before you start

- Every request carries `Authorization: Bearer <token>`. Nothing else authenticates: no cookie, no token in the address.
- Call [GET /v1/me](https://beplan.io/docs/api/identity/#identity.get) first. It says which organizations and workspaces your token was given, with their ids. Every other path names an organization, and most a workspace.
- Answers are JSON: `{ "data": … }` on success, `{ "error": { "code", "message", "details", "requestId" } }` on failure. Branch on `code`. [Errors](https://beplan.io/docs/guides/errors/) has the details.
- An organization decides what its members may connect, and may ask for a person's approval before posts from integrations go out. [How access works](https://beplan.io/docs/concepts/access/) explains the four checks every request passes.

## Where to go next

- **Concepts**: [how access works](https://beplan.io/docs/concepts/access/), [organizations and workspaces](https://beplan.io/docs/concepts/organizations/), [post approval](https://beplan.io/docs/concepts/approval/).
- **Guides**: [authentication](https://beplan.io/docs/guides/authentication/), [schedule a post](https://beplan.io/docs/guides/schedule-a-post/), [upload media](https://beplan.io/docs/guides/upload-media/), [insights](https://beplan.io/docs/guides/read-insights/), [webhooks](https://beplan.io/docs/guides/webhooks/), [errors](https://beplan.io/docs/guides/errors/), [rate limits](https://beplan.io/docs/guides/rate-limits/), [idempotency](https://beplan.io/docs/guides/idempotency/), [pagination](https://beplan.io/docs/guides/pagination/), [versioning](https://beplan.io/docs/guides/versioning/).
- **Reference**: [every operation](https://beplan.io/docs/api/), [scopes](https://beplan.io/docs/oauth/scopes/), [error codes](https://beplan.io/docs/api/errors/), [MCP tools](https://beplan.io/docs/mcp/tools/), [webhook events](https://beplan.io/docs/webhooks/events/), and the [OpenAPI document](https://beplan.io/docs/api/openapi.json).

Every docs page is also available as Markdown: add `.md` to its address (this page is [/docs/index.md](https://beplan.io/docs/index.md)), for pasting into an assistant.

---
HTML version: https://beplan.io/docs/
