Documentation
Everything for building on Doorman Inbox: connect the agent you use, call the API, or write an agent that answers mail. Every page is also plain Markdown, for the agent you work with.
Start here
- No codeConnect the agent you useGive your agent one address, https://api.doorman.fyi/mcp, and approve it in the browser. Nothing to install and no key.
- Five stepsCall the API yourselfA key, an inbox, a message read and a reply sent, with curl. The same calls in TypeScript and Python are one page on.
- Event handlersBuild an agent that answers mailHandlers that run when mail arrives, over a webhook, the stream or a poll, with replies that do not loop.
New to the product? Introduction has what Doorman Inbox is and the few nouns the API uses.
Guides
- MailInboxes, receiving and sendingIssue an address, read threads and attachments, send and reply.
- Being told about mailWebhooks, events and the streamThree ways to learn that something arrived, with the same payload in each.
- Automation and trustRules, security and the passportWhat acts on mail without your code, what is held back, and how an address signs up and signs in.
- AccessKeys, apps and OAuthAPI keys for your own code, and consent for an app that acts for someone else.
- ConventionsPagination, idempotency and errorsWhat holds on every surface: how lists page, how a retry stays safe, how a failure is reported.
- PlansLimits and versioningThe plans, every limit the API enforces, and what may change without notice.
Working with a team? Organizations has how an account is shared among its members, the roles, and what each may do.
SDKs and tools
Each has a guide and a reference of every method, tool or command, linked to the operation it sends.
- @doorman/inbox-sdkTypeScript SDKOne typed client that mirrors the operation ids, with page iterators, the stream and webhook verification.
- doorman-inboxPython SDKThe generated synchronous client for Python 3.11 and later, with typed dictionaries.
- @doorman/inbox-mcpMCP server78 tools derived from the contract, at one address or embedded in your own server.
- @doorman/inbox-cliCommand lineThe doorman command: sign in through the browser, run any operation, tail events.
- @doorman/inbox-agentAgent runtimeTyped event handlers with deduplication, guarded replies and mail fenced for a model.
- Source includedSample integrationThree complete programs: a front desk agent, an app a person connects, and a Python digest.
API reference
- HTTPEvery operationAll 84 operations of the public surface and the console's, with parameters, schemas, errors and samples.
- ObjectsSchemasEvery object the operations send or receive, with its fields, types and an example.
- By surfaceMethods, tools and commandsThe same operations as the TypeScript client, the Python client, MCP tools and commands.
For the agent you work with
These pages are written to be read by a program as well as a person. Nothing here needs a browser.
- Any page as Markdown
- Add
.mdto a page's address, or ask for it with the headerAccept: text/markdown. TheCopy pagebutton at the top of every page copies the same text. Links inside a Markdown page lead to other Markdown pages. - An index of every page
- llms.txt lists every page by area and topic with one line each.
/docs/index.jsonis the same list for a program, down to the sections of each page. - Search without a browser
/docs/search.jsonis the data the search on this site runs on: every page, section, operation, tool, command, method and schema, each with its address.- Everything at once
- llms-full.txt is the whole documentation in one file.
/llms/guides.txt,/llms/tools.txtand/llms/reference.txtare one area each, for when the whole is more than is needed. - The contract itself
- The API serves its own OpenAPI 3.1 document at
https://api.doorman.fyi/openapi.json, with its limits and its error catalogue.

