# Changelog

> What changed in the API, the MCP server and webhooks. Newest first.

## 2 December 2026: API v1, webhooks and the MCP server

- **REST API v1** at `/api/v1`: the same operations as the MCP server, plus handoff links for starting a deal and approving a draft. See the [reference](https://yapfactory.com/developers/api.md).
- **One format** for every response: `{ data }`, lists with `nextCursor` and `hasMore`, and errors with a fixed status per `code` and a `requestId`.
- **Idempotency keys** on every change, required where other people are told. Only a success is stored and replayed.
- **Strict inputs**: a field we don't know returns `400` instead of being dropped.
- **Rate limits per minute**, per connection and per person, with `RateLimit-*` headers and `Retry-After`.
- **Live keys** start with `yf_live_`. Older `yf_` keys keep working. Test keys (`yf_test_`) are for the [sandbox](https://yapfactory.com/developers/sandbox.md), which is coming soon.
- **Scopes per resource**, such as `campaigns:write`, next to `read` and `write`.
- **Webhooks**: signed events for every deal step, asks, campaigns and scheduled posts, with retries for about 21 hours, a delivery log, replay and test events. See [Webhooks](https://yapfactory.com/developers/webhooks.md).
- **Scheduled posts**: brands can schedule videos and photos to their own TikTok and Instagram accounts from the API or an assistant.
- **Creator videos** come with a `watch` link that plays them on Yap Factory, a thumbnail and the view count. The first release returned a `url` on TikTok or Instagram; that field is gone.
- **MCP server** at `/mcp`, for ChatGPT, Claude, Cursor and other clients, and the Claude plugin. See [Connect an assistant](https://yapfactory.com/developers/mcp.md).
- **OpenAPI 3.1** spec at `/api/v1/openapi.json`, and every docs page as Markdown.

---

HTML version: https://yapfactory.com/developers/changelog
