
# Build and run websites from code

Unvop turns a few sentences about a business into a live website, then gives its owner what they need to run it: an editor, collections, a CRM, forms, payments, workflows and tools. The API lets your code do almost everything the dashboard does, and the MCP server hands the same API to AI assistants.

## Three ways in

| You want to | Use | Start here |
|---|---|---|
| Call Unvop from your own code, scripts or CI | The REST API at `https://api.unvop.com/v1` | [Quickstart](https://developers.unvop.com/quickstart.md) |
| Let Claude, ChatGPT, Cursor or VS Code work on your sites | The MCP server at `https://platform.unvop.com/mcp` | [Connect an AI assistant](https://developers.unvop.com/mcp.md) |
| Have something outside Unvop react to what happens on a site | Workflows with a webhook trigger, or an HTTP step | [Workflows and webhooks](https://developers.unvop.com/guides/workflows.md) |

## What the API covers

Every endpoint is registered once in the Worker, with its scope, schemas and examples, and the [API reference](https://developers.unvop.com/api.md) is generated from that same definition. If it is served, it is documented.

- **Builds**: describe a business and get a researched, designed, written and deployed site. [Builds and progress](https://developers.unvop.com/guides/builds.md)
- **Pages and blocks**: read a page, change one block, publish, restore an earlier version. [Pages and blocks](https://developers.unvop.com/guides/pages-and-blocks.md)
- **Collections**: a site's own lists (a menu, rooms, a team, events), typed in, synced from a sheet or fetched live. [Collections and live data](https://developers.unvop.com/guides/collections.md)
- **Media**: upload a file or have Unvop fetch one from a URL. [Media](https://developers.unvop.com/guides/media.md)
- **Contacts and forms**: the CRM, the pipeline, and every form someone sent. [Contacts and forms](https://developers.unvop.com/guides/contacts-and-forms.md)
- **Workflows, tools and connections**: automations, small internal apps and outside APIs. [Workflows](https://developers.unvop.com/guides/workflows.md), [Tools](https://developers.unvop.com/guides/tools.md), [Connections](https://developers.unvop.com/guides/connections.md)

## The conventions, once

JSON in and out, UTF-8. Authenticate with `Authorization: Bearer unvop_live_…`. Lists answer `{ items, cursor }`. Errors are `{ error: { code, message, details } }`. POST creates accept an `Idempotency-Key`. Page writes accept `If-Match`. Every answer carries `RateLimit-*` headers. Each has its own short guide: [errors](https://developers.unvop.com/guides/errors.md), [pagination](https://developers.unvop.com/guides/pagination.md), [idempotency](https://developers.unvop.com/guides/idempotency.md), [ETags](https://developers.unvop.com/guides/etags.md) and [rate limits](https://developers.unvop.com/guides/rate-limits.md).

## For agents

These docs are written to be read by models as well as people. [`/llms.txt`](https://developers.unvop.com/llms.txt) lists every page, [`/llms-full.txt`](https://developers.unvop.com/llms-full.txt) is the whole set in one file, and every page has a Markdown version: add `.md` to its address. The machine-readable reference is the OpenAPI 3.1 document at `https://api.unvop.com/v1/openapi.json`, no key needed.
