# Savorum HTTP API > Reference documentation and OpenAPI specification for the Savorum v1 HTTP API, covering recipes, libraries, meal planning, shopping lists, imports, exports, webhooks, live events, and AI assistant (MCP) integration. ## Overview The Savorum HTTP API is the same API used by the Savorum web app and the native iPhone, iPad, and Apple Watch app. It exposes 242 operations across 33 resource groups under `/api/v1/`. - **Authentication:** Personal API tokens via `Authorization: Bearer `, browser sessions (`browserSession`, with CSRF header on cookie writes), or browser-approved remote MCP connections at `/mcp` on a Savorum instance. Tokens are never accepted in query strings. - **Library selection:** Send the target library identifier in `X-Savorum-Library` on every library-scoped request. - **Capabilities:** Call `GET /api/v1/capabilities` to inspect enabled features, authentication options, and server limits before relying on them. - **Concurrency and retries:** Send the resource revision in `If-Match` when updating (`412` on stale revision, `428` when missing). Send `Idempotency-Key` on supported writes and batch requests to retry safely. - **Live instance guidance for agents:** Any running Savorum instance serves `/llms.txt` and `/openapi.json` directly for that instance version, and provides `savorum_help` over MCP. ## Guides - [Events, webhooks, and jobs](https://api.savorum.app/guides/events-webhooks-jobs/) ([Markdown](https://api.savorum.app/guides/events-webhooks-jobs.md)): Follow library changes, receive signed webhooks, run long work as jobs, and retry writes safely. - [Get started](https://api.savorum.app/guides/get-started/) ([Markdown](https://api.savorum.app/guides/get-started.md)): Make your first Savorum API requests with a personal token, pick a library, and check what an instance supports. - [Native app sign-in](https://api.savorum.app/guides/native-sign-in/) ([Markdown](https://api.savorum.app/guides/native-sign-in.md)): Sign in to an OIDC, SAML, or managed provider from an iOS or Android app, and link a provider to a signed-in account. - [Connect an assistant (MCP)](https://docs.savorum.app/guide/assistant-connections/): Connect AI assistants via remote MCP (`/mcp`) or a setup prompt with scoped read-only or read-write approval. ## Machine-readable specification - [OpenAPI JSON schema](https://api.savorum.app/openapi.json): Complete OpenAPI document for the Savorum v1 API. - [Complete API guides and operation index (Markdown)](https://api.savorum.app/llms-full.txt): API guides plus a compact index of all 242 operations. - [HTTP API overview](https://api.savorum.app/v1/) ([Markdown](https://api.savorum.app/v1.md)): Generated endpoint overview and operation index. ## Related - [Savorum website LLM index](https://savorum.app/llms.txt): Product overview, editions, and public links. - [Savorum documentation LLM index](https://docs.savorum.app/llms.txt): User manual and self-hosting administration guides. - [AI, privacy, and MCP](https://savorum.app/ai-and-mcp/): How Savorum handles privacy, on-device OCR, and scoped MCP connections. - [SREF recipe format](https://savorum.app/sref/): Open Structured Recipe Exchange Format specification and downloadable examples.