---
title: "API reference"
description: "Every operation of the Doorman Inbox API, grouped by tag, with its parameters, schemas, errors and samples."
url: https://doorman.fyi/docs/reference
markdown: https://doorman.fyi/docs/reference.md
area: "API reference"
section: "API reference"
---

# API reference

Every operation of the Doorman Inbox API, grouped by tag, with its parameters, schemas, errors and samples.

Source: https://doorman.fyi/docs/reference

## How to read it

The API answers on `https://api.doorman.fyi`. Authenticated `/v1` routes require `Authorization: Bearer <credential>`: an API key, a console session or a scoped app access token. REST errors use `{ "error": "<code>", "message": "<sentence>" }`; [OAuth](https://doorman.fyi/docs/oauth.md) protocol errors use their own `{ "error": "<code>" }` schema. See the [catalogue](https://doorman.fyi/docs/limits.md#errors).

Each operation below names its access level: `any` (any key or a session), `account` (an account key or a session), `key` (a key only), `session` (the console only) or `public` (no credential). The samples read the key from `DOORMAN_API_KEY` and use the example identifiers of the contract.

The OAuth note separately states whether an app token is accepted and lists every required permission. Existing API-key access levels do not grant apps those capabilities. Public protocol samples never attach the example API key.

The [OpenID Connect](https://doorman.fyi/docs/reference/openid-connect.md) operations are the protocol of [Sign in with Doorman](https://doorman.fyi/docs/sign-in.md). They answer on the issuer, `https://id.doorman.example`, a host of its own, and their samples call that origin. Their access is `public`, or `sign_in` for userinfo, which is read with the access token of a code exchange. Nothing they issue is a credential for this API.

The Organizations note states what a member's console session needs when it acts in an [organization](https://doorman.fyi/docs/organizations.md): the permissions listed, or none. API keys and app tokens are never held to them. The document publishes the same list on every operation, and the vocabulary once, under `x-doorman-permissions`.

This reference is generated from the same contract the API serves as [https://api.doorman.fyi/openapi.json](https://api.doorman.fyi/openapi.json), an OpenAPI 3.1 document. The [schemas](https://doorman.fyi/docs/reference/schemas.md) page lists every object the operations exchange.

## System

Liveness and this document. No credential.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/health` | [Health check](https://doorman.fyi/docs/reference/system.md#health) | `public` |
| `GET` | `/openapi.json` | [The OpenAPI document](https://doorman.fyi/docs/reference/system.md#openapi) | `public` |
| `POST` | `/mcp` | [Model Context Protocol endpoint](https://doorman.fyi/docs/reference/system.md#mcp) | `key` |

## Account

The account, its plan and usage, and account-wide counts.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/me` | [Who am I](https://doorman.fyi/docs/reference/account.md#me) | `any` |
| `GET` | `/v1/overview` | [Overview](https://doorman.fyi/docs/reference/account.md#overview) | `account` |
| `GET` | `/v1/metrics` | [Metrics](https://doorman.fyi/docs/reference/account.md#metrics) | `any` |
| `POST` | `/v1/organization/adopt` | [Move a personal account into the organization](https://doorman.fyi/docs/reference/account.md#organization-adopt) | `session` |
| `POST` | `/v1/billing/checkout` | [Start a checkout](https://doorman.fyi/docs/reference/account.md#billing-checkout) | `session` |
| `POST` | `/v1/billing/seats` | [Change the organization's seats](https://doorman.fyi/docs/reference/account.md#billing-seats) | `session` |
| `POST` | `/v1/billing/portal` | [Open the billing portal](https://doorman.fyi/docs/reference/account.md#billing-portal) | `session` |
| `POST` | `/v1/billing/sync` | [Read billing again](https://doorman.fyi/docs/reference/account.md#billing-sync) | `session` |
| `GET` | `/v1/push` | [Read notification settings](https://doorman.fyi/docs/reference/account.md#push-get) | `session` |
| `POST` | `/v1/push/subscriptions` | [Switch notifications on for a browser](https://doorman.fyi/docs/reference/account.md#push-subscriptions-create) | `session` |
| `DELETE` | `/v1/push/subscriptions/{subscriptionId}` | [Switch notifications off for a browser](https://doorman.fyi/docs/reference/account.md#push-subscriptions-delete) | `session` |
| `GET` | `/v1/members` | [List the organization's members](https://doorman.fyi/docs/reference/account.md#members-list) | `session` |
| `PATCH` | `/v1/members/{userId}` | [Change a member's role](https://doorman.fyi/docs/reference/account.md#members-update) | `session` |
| `GET` | `/v1/invitations` | [List the organization's invitations](https://doorman.fyi/docs/reference/account.md#invitations-list) | `session` |
| `POST` | `/v1/invitations` | [Invite someone to the organization](https://doorman.fyi/docs/reference/account.md#invitations-create) | `session` |
| `PATCH` | `/v1/invitations/{invitationId}` | [Record that an invitation was sent](https://doorman.fyi/docs/reference/account.md#invitations-update) | `session` |
| `DELETE` | `/v1/invitations/{invitationId}` | [Take an invitation back](https://doorman.fyi/docs/reference/account.md#invitations-revoke) | `session` |

## Inboxes

Addresses on the inbox domain: issue, read, rename and delete them.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/inboxes` | [List inboxes](https://doorman.fyi/docs/reference/inboxes.md#inboxes-list) | `any` |
| `POST` | `/v1/inboxes` | [Issue an inbox](https://doorman.fyi/docs/reference/inboxes.md#inboxes-create) | `account` |
| `GET` | `/v1/inboxes/{inboxId}` | [Read an inbox](https://doorman.fyi/docs/reference/inboxes.md#inboxes-get) | `any` |
| `PATCH` | `/v1/inboxes/{inboxId}` | [Update an inbox](https://doorman.fyi/docs/reference/inboxes.md#inboxes-update) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}` | [Delete an inbox](https://doorman.fyi/docs/reference/inboxes.md#inboxes-delete) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/rules` | [List inbound rules](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-list) | `account` |
| `POST` | `/v1/inboxes/{inboxId}/rules` | [Create an inbound rule](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-create) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/rules/{ruleId}` | [Read an inbound rule](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-get) | `account` |
| `PATCH` | `/v1/inboxes/{inboxId}/rules/{ruleId}` | [Update an inbound rule](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-update) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}/rules/{ruleId}` | [Delete an inbound rule](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-delete) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/rules/{ruleId}/runs` | [List rule executions](https://doorman.fyi/docs/reference/inboxes.md#inboxes-rules-runs) | `account` |

## Domains

Account-owned mail domains, DNS records, verification and setup.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/domains` | [List custom domains](https://doorman.fyi/docs/reference/domains.md#domains-list) | `account` |
| `POST` | `/v1/domains` | [Add a custom domain](https://doorman.fyi/docs/reference/domains.md#domains-create) | `account` |
| `GET` | `/v1/domains/{domainId}` | [Read a custom domain](https://doorman.fyi/docs/reference/domains.md#domains-get) | `account` |
| `POST` | `/v1/domains/{domainId}/verify` | [Check the domain's DNS](https://doorman.fyi/docs/reference/domains.md#domains-verify) | `account` |
| `POST` | `/v1/domains/{domainId}/connect-session` | [Start automatic DNS setup](https://doorman.fyi/docs/reference/domains.md#domains-connectSession) | `session` |
| `DELETE` | `/v1/domains/{domainId}` | [Remove a custom domain](https://doorman.fyi/docs/reference/domains.md#domains-delete) | `account` |

## API keys

Credentials for agents: account-wide keys from the console, inbox-scoped keys from the API.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/api-keys` | [List account keys](https://doorman.fyi/docs/reference/api-keys.md#apiKeys-list) | `session` |
| `POST` | `/v1/api-keys` | [Create an account key](https://doorman.fyi/docs/reference/api-keys.md#apiKeys-create) | `session` |
| `GET` | `/v1/api-keys/{keyId}` | [Read an account key](https://doorman.fyi/docs/reference/api-keys.md#apiKeys-get) | `session` |
| `DELETE` | `/v1/api-keys/{keyId}` | [Revoke an account key](https://doorman.fyi/docs/reference/api-keys.md#apiKeys-revoke) | `session` |
| `POST` | `/v1/inboxes/{inboxId}/api-keys` | [Create an inbox key](https://doorman.fyi/docs/reference/api-keys.md#inboxes-keys-create) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/api-keys` | [List an inbox's keys](https://doorman.fyi/docs/reference/api-keys.md#inboxes-keys-list) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/api-keys/{keyId}` | [Read an inbox key](https://doorman.fyi/docs/reference/api-keys.md#inboxes-keys-get) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}/api-keys/{keyId}` | [Revoke an inbox key](https://doorman.fyi/docs/reference/api-keys.md#inboxes-keys-revoke) | `account` |

## Mail

Threads, messages, raw and HTML bodies, attachments and their extracted text.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/inboxes/{inboxId}/threads` | [List threads](https://doorman.fyi/docs/reference/mail.md#inboxes-threads-list) | `any` |
| `GET` | `/v1/inboxes/{inboxId}/threads/by-seen` | [List threads a person has or has not seen](https://doorman.fyi/docs/reference/mail.md#inboxes-threads-listBySeen) | `session` |
| `GET` | `/v1/threads/{threadId}` | [Read a thread](https://doorman.fyi/docs/reference/mail.md#threads-get) | `any` |
| `PATCH` | `/v1/threads/{threadId}` | [Update a thread](https://doorman.fyi/docs/reference/mail.md#threads-update) | `any` |
| `DELETE` | `/v1/threads/{threadId}` | [Trash a thread](https://doorman.fyi/docs/reference/mail.md#threads-trash) | `any` |
| `POST` | `/v1/threads/{threadId}/restore` | [Restore a trashed thread](https://doorman.fyi/docs/reference/mail.md#threads-restore) | `session` |
| `PUT` | `/v1/threads/{threadId}/seen` | [Mark a thread seen](https://doorman.fyi/docs/reference/mail.md#threads-seen) | `session` |
| `GET` | `/v1/threads/{threadId}/messages` | [Read a thread's messages](https://doorman.fyi/docs/reference/mail.md#threads-messages) | `any` |
| `GET` | `/v1/inboxes/{inboxId}/messages` | [List messages](https://doorman.fyi/docs/reference/mail.md#inboxes-messages-list) | `any` |
| `GET` | `/v1/messages/{messageId}` | [Read a message](https://doorman.fyi/docs/reference/mail.md#messages-get) | `any` |
| `GET` | `/v1/messages/{messageId}/raw` | [Download the original message](https://doorman.fyi/docs/reference/mail.md#messages-raw) | `any` |
| `GET` | `/v1/messages/{messageId}/html` | [Read the HTML body](https://doorman.fyi/docs/reference/mail.md#messages-html) | `any` |
| `GET` | `/v1/attachments/{messageId}/{filename}` | [Download an attachment](https://doorman.fyi/docs/reference/mail.md#attachments-download) | `any` |
| `GET` | `/v1/attachments/{messageId}/{filename}/text` | [Read an attachment's text](https://doorman.fyi/docs/reference/mail.md#attachments-text) | `any` |

## Passport

The outside services an inbox's address is signed up for, the verification codes and sign-in links they send, and how the address signs in to the ones that accept Sign in with Doorman.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/passport` | [Read passport settings](https://doorman.fyi/docs/reference/passport.md#passport-get) | `account` |
| `PATCH` | `/v1/passport` | [Update passport settings](https://doorman.fyi/docs/reference/passport.md#passport-update) | `account` |
| `GET` | `/v1/services` | [List services](https://doorman.fyi/docs/reference/passport.md#services-list) | `any` |
| `GET` | `/v1/services/{serviceId}` | [Read a service](https://doorman.fyi/docs/reference/passport.md#services-get) | `any` |
| `POST` | `/v1/inboxes/{inboxId}/services` | [Declare or add a service](https://doorman.fyi/docs/reference/passport.md#inboxes-services-create) | `any` |
| `PATCH` | `/v1/services/{serviceId}` | [Update a service](https://doorman.fyi/docs/reference/passport.md#services-update) | `any` |
| `DELETE` | `/v1/services/{serviceId}` | [Delete a service](https://doorman.fyi/docs/reference/passport.md#services-delete) | `any` |
| `GET` | `/v1/inboxes/{inboxId}/verifications` | [Read verification codes](https://doorman.fyi/docs/reference/passport.md#inboxes-verifications-list) | `any` |
| `POST` | `/v1/inboxes/{inboxId}/sign-ins` | [Start a sign-in](https://doorman.fyi/docs/reference/passport.md#inboxes-signIns-create) | `any` |

## Security

Risk assessment and sender trust: the policy that warns, holds and guards sending, the senders an inbox knows, held mail and the audit log.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/security` | [Read the security policy](https://doorman.fyi/docs/reference/security.md#security-get) | `account` |
| `PATCH` | `/v1/security` | [Change the security policy](https://doorman.fyi/docs/reference/security.md#security-update) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/security` | [Read an inbox's security policy](https://doorman.fyi/docs/reference/security.md#inboxes-security-get) | `account` |
| `PATCH` | `/v1/inboxes/{inboxId}/security` | [Give an inbox its own security policy](https://doorman.fyi/docs/reference/security.md#inboxes-security-update) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}/security` | [Return an inbox to the account's security policy](https://doorman.fyi/docs/reference/security.md#inboxes-security-reset) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/senders` | [List an inbox's senders](https://doorman.fyi/docs/reference/security.md#inboxes-senders-list) | `account` |
| `GET` | `/v1/sender-rules` | [List sender rules](https://doorman.fyi/docs/reference/security.md#senderRules-list) | `account` |
| `POST` | `/v1/sender-rules` | [Trust or block a sender](https://doorman.fyi/docs/reference/security.md#senderRules-create) | `account` |
| `DELETE` | `/v1/sender-rules/{senderRuleId}` | [Remove a sender rule](https://doorman.fyi/docs/reference/security.md#senderRules-delete) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/held` | [List held messages](https://doorman.fyi/docs/reference/security.md#inboxes-held-list) | `any` |
| `POST` | `/v1/messages/{messageId}/release` | [Release a held message](https://doorman.fyi/docs/reference/security.md#messages-release) | `account` |
| `POST` | `/v1/messages/{messageId}/discard` | [Discard a held message](https://doorman.fyi/docs/reference/security.md#messages-discard) | `account` |
| `POST` | `/v1/messages/{messageId}/feedback` | [Mark a message safe or unsafe](https://doorman.fyi/docs/reference/security.md#messages-feedback) | `account` |
| `GET` | `/v1/security/audit` | [Read the security audit log](https://doorman.fyi/docs/reference/security.md#security-audit) | `account` |
| `POST` | `/v1/security/preview` | [Preview what a policy does to a message](https://doorman.fyi/docs/reference/security.md#security-preview) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/held-sends` | [List held sends](https://doorman.fyi/docs/reference/security.md#inboxes-heldSends-list) | `any` |
| `GET` | `/v1/held-sends/{heldSendId}` | [Read a held send](https://doorman.fyi/docs/reference/security.md#heldSends-get) | `any` |
| `POST` | `/v1/held-sends/{heldSendId}/approve` | [Send a held send](https://doorman.fyi/docs/reference/security.md#heldSends-approve) | `account` |
| `POST` | `/v1/held-sends/{heldSendId}/discard` | [Discard a held send](https://doorman.fyi/docs/reference/security.md#heldSends-discard) | `account` |

## Healthcare

The business associate agreement an eligible team signs, and the guardrails it unlocks: protected health information replaced in everything an agent or a system is given, held or refused on the way out, and custom guardrails. Every operation answers 404 until the deployment switches the capability on.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/baa` | [Read the agreement's standing](https://doorman.fyi/docs/reference/healthcare.md#baa-get) | `account` |
| `GET` | `/v1/baa/document` | [Read the agreement](https://doorman.fyi/docs/reference/healthcare.md#baa-document) | `account` |
| `POST` | `/v1/baa/sign` | [Sign the agreement](https://doorman.fyi/docs/reference/healthcare.md#baa-sign) | `session` |
| `POST` | `/v1/baa/terminate` | [End the agreement](https://doorman.fyi/docs/reference/healthcare.md#baa-terminate) | `session` |
| `GET` | `/v1/guardrails` | [Read the guardrails](https://doorman.fyi/docs/reference/healthcare.md#guardrails-get) | `account` |
| `PATCH` | `/v1/guardrails` | [Change the guardrails](https://doorman.fyi/docs/reference/healthcare.md#guardrails-update) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/guardrails` | [Read an inbox's guardrails](https://doorman.fyi/docs/reference/healthcare.md#inboxes-guardrails-get) | `account` |
| `PATCH` | `/v1/inboxes/{inboxId}/guardrails` | [Give an inbox its own guardrails](https://doorman.fyi/docs/reference/healthcare.md#inboxes-guardrails-update) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}/guardrails` | [Return an inbox to the account's guardrails](https://doorman.fyi/docs/reference/healthcare.md#inboxes-guardrails-reset) | `account` |
| `GET` | `/v1/guardrails/rules` | [List custom guardrails](https://doorman.fyi/docs/reference/healthcare.md#guardrails-rules-list) | `account` |
| `POST` | `/v1/guardrails/rules` | [Write a custom guardrail](https://doorman.fyi/docs/reference/healthcare.md#guardrails-rules-create) | `account` |
| `PATCH` | `/v1/guardrails/rules/{guardrailId}` | [Change a custom guardrail](https://doorman.fyi/docs/reference/healthcare.md#guardrails-rules-update) | `account` |
| `DELETE` | `/v1/guardrails/rules/{guardrailId}` | [Remove a custom guardrail](https://doorman.fyi/docs/reference/healthcare.md#guardrails-rules-delete) | `account` |
| `POST` | `/v1/guardrails/preview` | [Preview what the guardrails do to a text](https://doorman.fyi/docs/reference/healthcare.md#guardrails-preview) | `account` |
| `GET` | `/v1/messages/{messageId}/original` | [Read a message as it arrived](https://doorman.fyi/docs/reference/healthcare.md#messages-original) | `session` |

## Sending

New messages and replies from an inbox, with idempotent retries.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `POST` | `/v1/inboxes/{inboxId}/send` | [Send a message or reply](https://doorman.fyi/docs/reference/sending.md#inboxes-send) | `any` |
| `POST` | `/v1/inboxes/{inboxId}/drafts` | [Write a draft for the owner to send](https://doorman.fyi/docs/reference/sending.md#inboxes-drafts-create) | `key` |
| `DELETE` | `/v1/drafts/{heldSendId}` | [Take a draft back](https://doorman.fyi/docs/reference/sending.md#drafts-delete) | `key` |

## Webhooks

The inbox webhook, account endpoints, their signed deliveries and the delivery log.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/inboxes/{inboxId}/webhook` | [Read the inbox webhook](https://doorman.fyi/docs/reference/webhooks.md#inboxes-webhook-get) | `account` |
| `PUT` | `/v1/inboxes/{inboxId}/webhook` | [Set the inbox webhook](https://doorman.fyi/docs/reference/webhooks.md#inboxes-webhook-set) | `account` |
| `POST` | `/v1/inboxes/{inboxId}/webhook/rotate-secret` | [Rotate the inbox webhook's secret](https://doorman.fyi/docs/reference/webhooks.md#inboxes-webhook-rotateSecret) | `account` |
| `DELETE` | `/v1/inboxes/{inboxId}/webhook` | [Remove the inbox webhook](https://doorman.fyi/docs/reference/webhooks.md#inboxes-webhook-delete) | `account` |
| `GET` | `/v1/inboxes/{inboxId}/webhook/deliveries` | [List the inbox webhook's deliveries](https://doorman.fyi/docs/reference/webhooks.md#inboxes-webhook-deliveries) | `account` |
| `GET` | `/v1/webhooks` | [List endpoints](https://doorman.fyi/docs/reference/webhooks.md#webhooks-list) | `account` |
| `POST` | `/v1/webhooks` | [Create an endpoint](https://doorman.fyi/docs/reference/webhooks.md#webhooks-create) | `account` |
| `GET` | `/v1/webhooks/{endpointId}` | [Read an endpoint](https://doorman.fyi/docs/reference/webhooks.md#webhooks-get) | `account` |
| `PATCH` | `/v1/webhooks/{endpointId}` | [Change an endpoint](https://doorman.fyi/docs/reference/webhooks.md#webhooks-update) | `account` |
| `DELETE` | `/v1/webhooks/{endpointId}` | [Delete an endpoint](https://doorman.fyi/docs/reference/webhooks.md#webhooks-delete) | `account` |
| `POST` | `/v1/webhooks/{endpointId}/rotate-secret` | [Rotate an endpoint's secret](https://doorman.fyi/docs/reference/webhooks.md#webhooks-rotateSecret) | `account` |
| `POST` | `/v1/webhooks/{endpointId}/test` | [Send a test delivery](https://doorman.fyi/docs/reference/webhooks.md#webhooks-test) | `account` |
| `GET` | `/v1/webhooks/{endpointId}/deliveries` | [List an endpoint's deliveries](https://doorman.fyi/docs/reference/webhooks.md#webhooks-deliveries) | `account` |
| `POST` | `/v1/deliveries/{deliveryId}/retry` | [Retry a delivery](https://doorman.fyi/docs/reference/webhooks.md#deliveries-retry) | `account` |

## Events

The account's event log: page back through it, or poll it forward.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/events` | [List or poll events](https://doorman.fyi/docs/reference/events.md#events-list) | `any` |
| `GET` | `/v1/events/{eventId}` | [Read an event](https://doorman.fyi/docs/reference/events.md#events-get) | `any` |

## Stream

Events pushed over a WebSocket, with replay.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/ws` | [Open the event stream](https://doorman.fyi/docs/reference/stream.md#stream) | `key` |

## Assistant

Ask Doorman, the console's assistant. Console sessions only.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `POST` | `/v1/assistant/chat` | [Ask Doorman](https://doorman.fyi/docs/reference/assistant.md#assistant-chat) | `session` |

## Apps

Developer clients, installed apps and explicit session-bound consent.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/apps` | [List developer apps](https://doorman.fyi/docs/reference/apps.md#apps-list) | `session` |
| `POST` | `/v1/apps` | [Register an app](https://doorman.fyi/docs/reference/apps.md#apps-create) | `session` |
| `GET` | `/v1/apps/{appId}` | [Read an app](https://doorman.fyi/docs/reference/apps.md#apps-get) | `session` |
| `PATCH` | `/v1/apps/{appId}` | [Update an app](https://doorman.fyi/docs/reference/apps.md#apps-update) | `session` |
| `DELETE` | `/v1/apps/{appId}` | [Delete an app](https://doorman.fyi/docs/reference/apps.md#apps-delete) | `session` |
| `POST` | `/v1/apps/{appId}/rotate-secret` | [Rotate a client secret](https://doorman.fyi/docs/reference/apps.md#apps-rotateSecret) | `session` |
| `GET` | `/v1/app-installs` | [List installed apps](https://doorman.fyi/docs/reference/apps.md#installs-list) | `session` |
| `DELETE` | `/v1/app-installs/{installationId}` | [Revoke an installation](https://doorman.fyi/docs/reference/apps.md#installs-revoke) | `session` |
| `GET` | `/v1/oauth/requests/{requestId}` | [Read a consent request](https://doorman.fyi/docs/reference/apps.md#oauthRequests-get) | `session` |
| `POST` | `/v1/oauth/requests/{requestId}` | [Decide a consent request](https://doorman.fyi/docs/reference/apps.md#oauthRequests-decide) | `session` |

## OAuth

Authorization, token exchange and discovery for scoped third-party apps.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/.well-known/oauth-authorization-server` | [Discover authorization](https://doorman.fyi/docs/reference/oauth.md#oauth-metadata) | `public` |
| `GET` | `/.well-known/oauth-protected-resource` | [Discover the API resource](https://doorman.fyi/docs/reference/oauth.md#oauth-resource) | `public` |
| `GET` | `/.well-known/oauth-protected-resource/mcp` | [Discover the MCP resource](https://doorman.fyi/docs/reference/oauth.md#oauth-mcpResource) | `public` |
| `GET` | `/oauth/authorize` | [Begin app authorization](https://doorman.fyi/docs/reference/oauth.md#oauth-authorize) | `public` |
| `POST` | `/oauth/token` | [Exchange or refresh tokens](https://doorman.fyi/docs/reference/oauth.md#oauth-token) | `public` |
| `POST` | `/oauth/register` | [Register a public client dynamically](https://doorman.fyi/docs/reference/oauth.md#oauth-register) | `public` |

## Sign in with Doorman

The relying parties a developer registers, the sign-ins that wait for the owner's decision, and what the web app does for a browser on the way. Every operation answers 404 until the deployment switches sign-in on.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/v1/sign-in/clients` | [List relying parties](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-list) | `session` |
| `POST` | `/v1/sign-in/clients` | [Register a relying party](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-create) | `session` |
| `GET` | `/v1/sign-in/clients/{clientId}` | [Read a relying party](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-get) | `session` |
| `PATCH` | `/v1/sign-in/clients/{clientId}` | [Update a relying party](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-update) | `session` |
| `DELETE` | `/v1/sign-in/clients/{clientId}` | [Delete a relying party](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-delete) | `session` |
| `POST` | `/v1/sign-in/clients/{clientId}/rotate-secret` | [Rotate a relying party's secret](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-rotateSecret) | `session` |
| `POST` | `/v1/sign-in/clients/{clientId}/verify` | [Verify a relying party's host](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-clients-verify) | `session` |
| `GET` | `/v1/sign-in/requests/{requestId}` | [Read a sign-in that waits for the owner](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-get) | `session` |
| `POST` | `/v1/sign-in/requests/{requestId}` | [Decide a sign-in](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-decide) | `session` |
| `POST` | `/sign-in/links/read` | [Read a sign-in link](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-links-read) | `public` |
| `POST` | `/sign-in/links/open` | [Open a sign-in link](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-links-open) | `public` |
| `POST` | `/sign-in/requests/resume` | [Resume a sign-in](https://doorman.fyi/docs/reference/sign-in-with-doorman.md#signIn-requests-resume) | `public` |

## OpenID Connect

The protocol a relying party speaks to sign an agent in: discovery, keys, authorization, the code exchange and userinfo. Served on the issuer's own host, to any OpenID Connect client.

| Method | Path | Operation | Access |
| --- | --- | --- | --- |
| `GET` | `/.well-known/openid-configuration` | [Discover the provider](https://doorman.fyi/docs/reference/openid-connect.md#signIn-discovery) | `public` |
| `GET` | `/sign-in/jwks.json` | [Read the signing keys](https://doorman.fyi/docs/reference/openid-connect.md#signIn-jwks) | `public` |
| `GET` | `/sign-in/authorize` | [Begin a sign-in](https://doorman.fyi/docs/reference/openid-connect.md#signIn-authorize) | `public` |
| `POST` | `/sign-in/token` | [Exchange a code](https://doorman.fyi/docs/reference/openid-connect.md#signIn-token) | `public` |
| `GET` | `/sign-in/userinfo` | [Read the signed-in address](https://doorman.fyi/docs/reference/openid-connect.md#signIn-userinfo) | `sign_in` |
| `POST` | `/sign-in/userinfo` | [Read the signed-in address with POST](https://doorman.fyi/docs/reference/openid-connect.md#signIn-userinfoPost) | `sign_in` |
