# Undertext API > The Undertext API lets any product embed the Undertext editor, connect people's AI agents to it over MCP, and seal documents with a verifiable record of where their words came from: typed, shaped, AI or external, and when someone was active in the editor. Each page below is Markdown at its own address; every page in one file: https://docs.undertext.sh/llms-full.txt. REST base URL: https://api.undertext.sh/v1. Node SDK: @undertext/sdk. Browser embed: @undertext/embed. - **Start here** - [Quickstart](https://docs.undertext.sh/quickstart.md): From an empty Node project to a document written in the embedded editor and sealed. - [How Undertext works](https://docs.undertext.sh/how-it-works.md): What runs where when you build on Undertext, the five connections between your product and Undertext, and who owns what. - [Build with an agent](https://docs.undertext.sh/build-with-an-agent.md): Give Claude Code, Codex or another coding agent these docs and a prompt that adds Undertext to your app. - **Concepts** - [Platforms and keys](https://docs.undertext.sh/concepts/platforms-and-keys.md): A platform is your product as Undertext knows it, set up in the console and reached with secret keys. - [Users](https://docs.undertext.sh/concepts/users.md): Users are your people; Undertext gives each one its own id, keeps yours beside it, and takes your word for who they are. - [Documents and access](https://docs.undertext.sh/concepts/documents-and-access.md): What a document holds, who may do what in it, and how people get into the editor. - [Provenance](https://docs.undertext.sh/concepts/provenance.md): How Undertext knows where every word in a document came from, and what the four origins mean. - [Presence and check-ins](https://docs.undertext.sh/concepts/presence-and-check-ins.md): How Undertext measures when someone was active in the editor while a document was written, and how security-key check-ins verify it. - [Seals](https://docs.undertext.sh/concepts/seals.md): A seal freezes a document and its record at a short link anyone can open and check. - [Agents](https://docs.undertext.sh/concepts/agents.md): An agent is an AI client a person connected to their documents on your platform, acting for that person alone. - [Trust model](https://docs.undertext.sh/concepts/trust-model.md): What a seal proves, who vouches for each part of it, and what it can't tell anyone. - **Guides** - [Embed the editor](https://docs.undertext.sh/guides/embed-the-editor.md): Put the Undertext editor in your page, signed in as your user, sized and styled to fit, and wired to your app. - [Share documents](https://docs.undertext.sh/guides/share-documents.md): Turn your sharing screen into members, roles and link access in Undertext, and know what agents can do as roles change. - [Connect agents](https://docs.undertext.sh/guides/connect-agents.md): Let your users connect Claude, Codex or any MCP client to their documents, with your sign-in on the consent page and Undertext crediting every word the agent writes. - [Set up check-ins](https://docs.undertext.sh/guides/set-up-check-ins.md): Let your users add security keys and check in while they write, so their seals can show Verified Presence. - [Seal and verify](https://docs.undertext.sh/guides/seal-and-verify.md): Seal a document from the editor or your server, show the seal line in your app and seals on your own site, and know what a reader sees when they open one. - [Send notifications](https://docs.undertext.sh/guides/notifications.md): Receive Undertext's webhooks, check their signatures, and turn comments, mentions and seals into your own notifications and emails. - [Anonymous users](https://docs.undertext.sh/guides/anonymous-users.md): Let people write before they sign up, then carry their documents, credit, keys and agents over to their account when they do. - [Add your own agent tools](https://docs.undertext.sh/guides/your-own-agent-tools.md): Give agents your app's own features, such as folders and pins, as tools Undertext's MCP server lists beside its own and forwards to your server. - [Go live](https://docs.undertext.sh/guides/go-live.md): Build on a platform of your own, then make the one your users get, with a checklist covering origins, agents, webhooks, replacing keys and rate limits. - **Reference** - REST API - [Overview](https://docs.undertext.sh/reference/api/overview.md): How the Undertext REST API works, from authentication and errors to pagination, versions and rate limits. - [Users](https://docs.undertext.sh/reference/api/users.md): Create users under your own ids, look them up, merge and delete them, list their documents, and set Verified Presence for them. - [Documents](https://docs.undertext.sh/reference/api/documents.md): Create documents, name them, set link access, move them to the trash, export them and read their provenance. - [Members](https://docs.undertext.sh/reference/api/members.md): Decide who can open a document and with which role, and transfer ownership. - [Sessions](https://docs.undertext.sh/reference/api/sessions.md): Start the short-lived tokens the embedded editor, presence settings and private seals run on. - [Agents](https://docs.undertext.sh/reference/api/agents.md): List, name, limit and revoke the AI agents your users connected to their documents. - [Agent requests](https://docs.undertext.sh/reference/api/agent-requests.md): Approve or deny an agent from your consent page, so Undertext can issue it tokens. - [Seals](https://docs.undertext.sh/reference/api/seals.md): Seal a document, list and look up its seals, and withdraw one. - [Webhook endpoints](https://docs.undertext.sh/reference/api/webhook-endpoints.md): Choose where Undertext sends events, and get the secret to check they came from Undertext. - [Platform](https://docs.undertext.sh/reference/api/platform.md): Your platform's settings, the agent tools of your own that Undertext's MCP server offers, and its counts. - [Node SDK](https://docs.undertext.sh/reference/node.md): The @undertext/sdk package for calling the Undertext API from your server, with typed methods for every endpoint. - [Embed API](https://docs.undertext.sh/reference/embed.md): Every option, event and method of the editor and seals you embed with @undertext/embed, and what your page needs to allow it. - [Webhook events](https://docs.undertext.sh/reference/webhooks.md): Every event Undertext sends to your webhook endpoints, how deliveries are signed, and how they are retried. - [MCP tools](https://docs.undertext.sh/reference/mcp.md): The MCP server your users' agents connect to, how agents are authorised, and every tool they can call. - [Changelog](https://docs.undertext.sh/changelog.md): What changed in the Undertext API, the embed script, the Node SDK and the MCP server.