System

Liveness and this document. No credential.

Health check

GET/health

Access public: no credential.

Answers as soon as the Worker runs; it does not touch storage.

OAuth: not available to delegated app tokens.

Also available as client.health in TypeScript, client.health in Python and doorman health on the command line.

Answers 200: The service is up.

Response 200: Health

The service is up.

  • oktruerequired

  • service"doorman-inbox"required

Errors
StatusErrorMeaning

Example 200 response

{
  "ok": true,
  "service": "doorman-inbox"
}
curl -s "https://api.doorman.fyi/health"

The OpenAPI document

GET/openapi.json

Access public: no credential.

This document, with servers set to the deployment's own origin. Public and cacheable, so documentation tooling can read it from any origin.

OAuth: not available to delegated app tokens.

Also available as client.openapi in TypeScript, client.openapi in Python and doorman openapi on the command line.

Answers 200 as application/json: The OpenAPI 3.1 document.

Errors
StatusErrorMeaning
500internal_errorSomething went wrong on the server.
curl -s "https://api.doorman.fyi/openapi.json" \
  -o downloaded.bin

Model Context Protocol endpoint

POST/mcp

Access key: an API key, or a correctly scoped app token where delegated access is allowed; console sessions are refused.

The stateless Streamable HTTP endpoint for the Model Context Protocol. Authenticate with a dm_ API key, or with an app access token issued for this address as its resource; console sessions are not accepted, and a request without a credential is answered with the challenge an agent host signs in from. A key is offered every operation in operationTools(), with output schemas and structured answers. An app token is offered the operations its permissions cover, sized for a model: no output schemas or examples, text-only answers, and mail text bounded with a note naming the tool that reads the rest. Neither is offered the tools of a capability the deployment has not switched on. Every answer is JSON. There is no stream to open and no session to end, so GET and DELETE answer 405.

OAuth: allowed with a token for this resource. App permissions apply in addition to account and resource checks.

Request body (application/json)

No fields.

Answers 200 as application/json: The JSON-RPC 2.0 response.

Errors
StatusErrorMeaning
401unauthorizedThe credential was missing, malformed, revoked or belongs to an inactive account.
403insufficient_scopeThe app's token lacks a required scope, or the operation cannot be delegated.
405method_not_allowedThe MCP endpoint takes POST only: it is stateless, with no stream to open and no session to end.
429rate_limit_exceededA per-inbox or per-account rate limit; Retry-After and resetsAt say when to try again.
500internal_errorSomething went wrong on the server.
curl -s -X POST "https://api.doorman.fyi/mcp" \
  -H "authorization: Bearer $DOORMAN_API_KEY" \
  -o downloaded.bin

Up Down to move, Enter to open, Esc to close