Developer overview
post.buzz exposes a versioned REST API under /api/v1/... for
integrating publishing, account management, and media into your own tooling.
It's authenticated with API keys and returns JSON.
Base URL
All REST endpoints are mounted under /api on your API origin, so the
effective paths are /api/v1/.... The exact host depends on your deployment
(the same origin that serves the app also serves the API).
https://<your-api-origin>/api/v1/...
REST vs tRPC
post.buzz's own frontend talks to the backend over tRPC at /api/trpc,
which gives it end-to-end type safety. The REST API is a thinner,
stable, publicly-documented surface that mirrors the most useful operations
(create post, list posts, list accounts, upload media). It's the right choice
for third-party integrations, automation scripts, and anything that isn't part
of the post.buzz frontend.
| REST API | tRPC | |
|---|---|---|
| Path | /api/v1/... | /api/trpc/... |
| Auth | API key (Bearer) | Session cookie |
| Use for | External integrations | (internal) |
| Stability | Versioned, documented | Fluid |
What's available
| Endpoint | Method | Purpose |
|---|---|---|
/v1/posts | GET | List your posts |
/v1/posts | POST | Create / schedule / cross-post |
/v1/posts/:id | DELETE | Delete a draft or scheduled post |
/v1/accounts | GET | List connected accounts |
| Media | — | Presigned upload + media record |
Conventions
- JSON in, JSON out. Request bodies are
application/json; responses areapplication/json. - Validation. Each route validates input against a schema. Invalid input
returns
400with adetailsarray before the handler runs. - Pagination. List endpoints accept
limitandoffsetquery params. - Errors. Consistent error shape — see Errors.
- Limits. Creating a post runs the same per-platform limit validation as the app. See Limits.
Next
- Authentication — get and use an API key.
- REST API — conventions in depth.
- Posts — the core endpoint.