Versioning and stability
What the /v1 prefix promises, which changes are additive, and the OpenAPI document the API serves about itself.
On this page
The version is the prefix
Every route that needs a credential lives under /v1. The prefix only changes with a breaking change, and there has been none: a client written against /v1 keeps working. The document's own info.version is 0.1.0, which tracks the contract package, not the prefix.
The product is young and the API is still growing, so the rule is simple: within a version, changes add and never take away.
What may change without notice
- New routes, and new optional fields on existing requests.
- New fields on existing responses. Read what you need and ignore the rest; do not reject an object for carrying a field you did not expect.
- New event types beside
message.received. A webhook receiver and a stream client should ignore types they do not know, and an endpoint that listseventTypeskeeps receiving only those. - New error codes, and new values of an enum such as
categoryorextractionMethod. Treat an unknown code as its status says, and an unknown category as something not to answer on its own. - Limits may rise. They may also fall for abuse protection; the current values are always in
x-doorman-limits.
What does not change within a version: the meaning of an existing field, the status an existing error code answers with, the shape of an identifier, and the signing scheme of webhook deliveries.
The OpenAPI document
GET /openapi.json serves the API's own OpenAPI 3.1 document, with servers set to the deployment's origin. It needs no credential and is cacheable, so documentation tooling and code generators can read it from any origin. It is the same contract this reference is generated from, and the Worker's tests check that every route it registers is described in it.
curl -s "https://api.doorman.fyi/openapi.json"Beyond the standard fields, the document carries the parts of the contract that OpenAPI has no place for:
x-doorman-limits: every limit as data, by group.x-doorman-errors: the error catalogue, code to status and description.x-doorman-risk-reasons: the risk reason catalogue, code to family, label and plain-language sentence.x-doorman-accessandx-doorman-audienceon every operation: who may call it, and whether it is for agents, the console, the operator or local development.x-doorman-permissions: on every operation, what a member's console session needs in an organization; at the top of the document, the permissions and what each allows, the two roles, what the member role holds, what an inline key or webhook adds to issuing an inbox, and the name of the header a request names its account in.webhooks: themessage.receiveddelivery as a webhook object, headers and body.x-doorman-frameson the stream operation: the client and server frame schemas.
This documentation
These pages are generated from the same contract at build time, so what they say about fields, limits and errors cannot drift from what the API enforces. They are also served as text: /llms.txt is an index with one line per page, and /llms-full.txt is every page in order, for the agent the person uses.

