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.
Read passport settings
GET/v1/passport
Access account: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Whether the account emails its owner when an authenticated service sends a password reset, a security notice, or a verification code or sign-in link that no recent agent action explains, with the owner address and whether email sending is available. And what the account's agents may do alone when they sign in with Doorman: sign in to a service the owner has not allowed yet, and tell such a service who owns them.
OAuth: not available to delegated app tokens.
Also available as client.passport.get in TypeScript, client.passport.get in Python, the passport_get tool and doorman passport get on the command line.
Organizations: every member's console session may call it. See Roles and permissions.
Answers 200: The account's passport settings.
Response 200: PassportSettings
How the account's passport alerts and briefs its owner, and what its agents may do alone when they sign in with Doorman.
alertEmailsbooleanrequiredSend an email to
alertEmailwhen an authenticated service sends a password reset, a security notice, or a verification code or sign-in link that no recent agent action explains.alertEmailstring (email)requiredWhere alert emails are sent: the account owner's address. Example:
sam@example.comemailAvailablebooleanrequiredWhether this deployment has email sending configured for owner alerts.
signInAvailablebooleanrequiredWhether this deployment has Sign in with Doorman switched on. Where it has not, the two settings below change nothing.
agentSignInbooleanrequiredWhether an agent may sign in to a service the owner has not allowed yet. Off by default: the owner allows each service once for each address, and the agent signs in alone from then on.
shareOwnerbooleanrequiredWhether a service an agent signed in to alone is told who owns the agent, when it asks. Off by default. A service the owner allowed is told what the owner chose then.
briefingEmailsbooleanrequiredWhether a daily briefing is emailed to
alertEmail: how many emails arrived and how many things wait for a decision, in counts only, with links to the console. No briefing is sent on a day with nothing to report.briefingHourintegerrequiredThe hour of the day, in
timeZone, at which the briefing is sent.timeZonestringrequiredThe IANA time zone
briefingHouris read in. Example:America/GuayaquilupdatedAtstring (date-time) | nullrequiredWhen these settings were last changed; null while they are the default.
Errors
| Status | Error | Meaning |
|---|---|---|
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | forbidden | The key is scoped to one inbox and cannot manage inboxes, keys or webhooks, or cannot read account-wide data. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"alertEmails": false,
"alertEmail": "dana@example.com",
"emailAvailable": true,
"signInAvailable": true,
"agentSignIn": false,
"shareOwner": false,
"briefingEmails": false,
"briefingHour": 8,
"timeZone": "UTC",
"updatedAt": null
}curl -s "https://api.doorman.fyi/v1/passport" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/passport", {
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
},
redirect: "manual", credentials: "omit",
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.get(
"https://api.doorman.fyi/v1/passport",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Update passport settings
PATCH/v1/passport
Access account: an account-scoped key or a console session; an inbox-scoped key gets 403 forbidden.
Changes the settings given; the ones left out stay as they are. Each change that loosens something needs a console session unless the account allows its account keys to (403 session_required): switching owner alert emails off, letting agents sign in to services the owner has not allowed yet, and telling those services who owns the agent.
OAuth: not available to delegated app tokens.
Also available as client.passport.update in TypeScript, client.passport.update in Python, the passport_update tool and doorman passport update on the command line.
Organizations: a member's console session needs security:manage. API keys and app tokens are not held to member permissions. See Roles and permissions.
Request body (application/json): UpdatePassportSettings
Changes to the passport's settings. Fields left out stay as they are. Switching alertEmails or briefingEmails off, and switching agentSignIn or shareOwner on, need a console session unless the account allows its account keys to.
alertEmailsbooleanoptionalWhether to email the account owner when a service receives an unexplained code or link, a password reset, or a security notice.
agentSignInbooleanoptionalWhether an agent may sign in to a service the owner has not allowed yet.
shareOwnerbooleanoptionalWhether a service an agent signed in to alone is told who owns the agent, when it asks.
briefingEmailsbooleanoptionalWhether to email the account owner a daily briefing in counts only. The first one covers what arrives from the moment it is switched on.
briefingHourintegeroptionalThe hour of the day, in
timeZone, at which the briefing is sent.timeZonestringoptionalThe IANA time zone
briefingHouris read in. Example:America/Guayaquil
Answers 200: The settings as they are now.
Response 200: PassportSettings
How the account's passport alerts and briefs its owner, and what its agents may do alone when they sign in with Doorman.
alertEmailsbooleanrequiredSend an email to
alertEmailwhen an authenticated service sends a password reset, a security notice, or a verification code or sign-in link that no recent agent action explains.alertEmailstring (email)requiredWhere alert emails are sent: the account owner's address. Example:
sam@example.comemailAvailablebooleanrequiredWhether this deployment has email sending configured for owner alerts.
signInAvailablebooleanrequiredWhether this deployment has Sign in with Doorman switched on. Where it has not, the two settings below change nothing.
agentSignInbooleanrequiredWhether an agent may sign in to a service the owner has not allowed yet. Off by default: the owner allows each service once for each address, and the agent signs in alone from then on.
shareOwnerbooleanrequiredWhether a service an agent signed in to alone is told who owns the agent, when it asks. Off by default. A service the owner allowed is told what the owner chose then.
briefingEmailsbooleanrequiredWhether a daily briefing is emailed to
alertEmail: how many emails arrived and how many things wait for a decision, in counts only, with links to the console. No briefing is sent on a day with nothing to report.briefingHourintegerrequiredThe hour of the day, in
timeZone, at which the briefing is sent.timeZonestringrequiredThe IANA time zone
briefingHouris read in. Example:America/GuayaquilupdatedAtstring (date-time) | nullrequiredWhen these settings were last changed; null while they are the default.
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 400 | invalid_json | The request body is not JSON. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | forbidden | The key is scoped to one inbox and cannot manage inboxes, keys or webhooks, or cannot read account-wide data. |
| 403 | session_required | Account keys, developer apps, relying parties, installations, consent, approving a sign-in and the assistant require a console session. So does loosening the security policy, trusting a sender, releasing held mail, allowing a sign-in, letting agents sign in to new services alone or telling a service who owns an agent, unless the account allows its account keys to. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"alertEmails": false,
"alertEmail": "dana@example.com",
"emailAvailable": true,
"signInAvailable": true,
"agentSignIn": false,
"shareOwner": false,
"briefingEmails": false,
"briefingHour": 8,
"timeZone": "UTC",
"updatedAt": null
}curl -s -X PATCH "https://api.doorman.fyi/v1/passport" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"alertEmails": true
}'const response = await fetch("https://api.doorman.fyi/v1/passport", {
method: "PATCH",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"alertEmails": true
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.patch(
"https://api.doorman.fyi/v1/passport",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"alertEmails": True,
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()List services
GET/v1/services
Access any: any API key, or a console session.
The outside services the account's addresses are signed up for, newest activity first: found in authenticated mail, declared by an agent, or added by a person. Without status, archived ones are left out. Inbox-scoped keys see their own inbox's only.
OAuth: allowed with all of mail:read. App permissions apply in addition to account and resource checks.
Also available as client.services.list in TypeScript, client.services.list in Python, the services_list tool and doorman services list on the command line.
Organizations: a member's console session needs mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
inboxIdstring, in queryoptionalOnly this inbox's services. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7z.status"pending" | "active" | "cancelled" | "archived", in queryoptionalOnly services with this status. Without it, every status but archived.
attention"true" | "false", in queryoptionalOnly services with (
true) or without (false) an active warning.qstring, in queryoptionalKeep the services whose domain or name contains this text, case-insensitively.
limitinteger, in queryoptionalPage size, 1 to 100. Defaults to 50.
offsetinteger, in queryoptionalRows to skip. Defaults to 0.
Answers 200: A page of services.
Response 200: ServicePage
A page of services, newest activity first.
dataService[]requiredlimitintegerrequiredThe page size that was applied.
offsetintegerrequiredThe offset that was applied.
totalintegerrequiredHow many services match, across every page.
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
curl -s "https://api.doorman.fyi/v1/services" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/services", {
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
},
redirect: "manual", credentials: "omit",
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.get(
"https://api.doorman.fyi/v1/services",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Read a service
GET/v1/services/{serviceId}
Access any: any API key, or a console session.
One service with the newest messages that tied it to the address, at most 20: their subjects, what each was about and where to read it, never their text.
OAuth: not available to delegated app tokens.
Also available as client.services.get in TypeScript, client.services.get in Python, the services_get tool and doorman services get on the command line.
Organizations: a member's console session needs mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
serviceIdstring, in pathrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1m.
Answers 200: The service and its evidence.
Response 200: ServiceDetail
A service with the newest messages that tied it to the address.
idstringrequiredA passport service identifier. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1minboxIdstringrequiredAn inbox identifier. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zinboxAddressstringrequiredThe address the service knows the agent by. Example:
concierge@doorman.exampledomainstringrequiredThe service's registrable domain. This is what identifies it: when it was found in mail, the sender was authenticated for it. Example:
example.netnamestringrequiredA label: the sender's display name when the service was found in mail, or the name an agent or a person gave it. It is a claim, not proof; the domain is what was checked. Example:
Example Toolsstatus"pending" | "active" | "cancelled" | "archived"requiredpendinguntil the sign-up is confirmed (a welcome or a receipt arrives, the agent reads its code, or a person says so),active,cancelled, orarchivedwhen a person set it aside as not a sign-up.source"detected" | "declared" | "manual"requireddetectedfrom mail,declaredby an agent, ormanualwhen a person added it.acquiredByServiceActorRef | nullrequiredWho signed up: the agent that declared the service or first read one of its codes, or the person who added it. Null when it was only found in mail.
notestring | nullrequiredA note a person or an agent left.
planServicePlan | nullrequiredWhat the service costs, when someone recorded it.
attentionServiceAttention | nullrequiredAn unacknowledged warning on the service (an unexplained code or link, a password reset, or a security notice); null otherwise, and always null on archived services.
invitedAtstring (date-time) | nullrequiredWhen the newest invitation from the service arrived: mail that asks the address to join, with a link that accepts. The invitation is open while the service is
pending. Null when the service never sent one.signInsServiceSignIn[]requiredHow the address signs in to the service with Doorman: one entry for each relying party under the service's domain. Empty when it gets in some other way, or where the deployment has not switched sign-in on.
lastSignal"verification" | "welcome" | "receipt" | "password_reset" | "security" | "trial" | "cancellation" | "other" | nullrequiredWhat the newest mail from the service was about.
lastSignalAtstring (date-time) | nullrequiredlastReceiptAtstring (date-time) | nullrequiredWhen the newest receipt or invoice arrived: a sign that the service is paid.
lastSecurityAtstring (date-time) | nullrequiredWhen the newest password reset or security notice arrived.
messageCountintegerrequiredMessages tied to the service.
firstSeenAtstring (date-time) | nullrequiredWhen the first mail from the service arrived; null until one does.
lastSeenAtstring (date-time) | nullrequiredWhen the newest mail from the service arrived.
createdAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZevidenceServiceEvidence[]requiredNewest first, at most 20. Messages in trashed threads are left out.
Errors
| Status | Error | Meaning |
|---|---|---|
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"id": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"inboxAddress": "concierge@doorman.example",
"domain": "example.net",
"name": "Example Tools",
"status": "active",
"source": "declared",
"acquiredBy": {
"kind": "installation",
"id": "ins_01jc5f1a2b3c4d5e6f7g8h9j0k"
},
"note": null,
"plan": {
"name": "Team",
"amount": 12,
"currency": "USD",
"interval": "month",
"renewsOn": "2026-12-01"
},
"attention": null,
"invitedAt": null,
"lastSignal": "receipt",
"lastSignalAt": "2026-11-05T10:05:00.000Z",
"lastReceiptAt": "2026-11-05T10:05:00.000Z",
"lastSecurityAt": null,
"messageCount": 3,
"firstSeenAt": "2026-11-05T10:05:00.000Z",
"lastSeenAt": "2026-11-05T10:05:00.000Z",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z",
"signIns": [],
"evidence": [
{
"messageId": "msg_01jc5a6g7h8j9k0m1n2p3q4r5s",
"threadId": "thr_01jc5a1b2c3d4e5f6g7h8j9k0m",
"subject": "Your receipt",
"signal": "receipt",
"occurredAt": "2026-11-05T10:05:00.000Z"
}
]
}curl -s "https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m", {
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
},
redirect: "manual", credentials: "omit",
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.get(
"https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Declare or add a service
POST/v1/inboxes/{inboxId}/services
Access any: any API key, or a console session.
Records that the inbox's address is about to be signed up for a service, or already is. An agent calls it before it signs up: the service is recorded as pending and attributed to the agent, and the codes and links the domain sends are tied to it. A person's is recorded as active. A domain the inbox already has answers 200 with that service, and takes a cancelled or archived one up again. What it costs is recorded with services.update. An inbox holds at most 500 services (409 limit_reached).
OAuth: allowed with all of mail:write, mail:read. App permissions apply in addition to account and resource checks.
Also available as client.inboxes.services.create in TypeScript, client.inboxes.services.create in Python, the inboxes_services_create tool and doorman inboxes services create on the command line.
Organizations: a member's console session needs mail:write and mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
inboxIdstring, in pathrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7z.
Request body (application/json): CreateService
A service the inbox's address is about to be signed up for, or already is. An agent declares one before it signs up, so the codes that arrive for it are attributed to the agent; a person adds one by hand. A domain the inbox already has answers with that service. What it costs is recorded afterwards, with an update.
domainstringrequiredThe service's domain, or a host under it:
app.example.netis recorded asexample.net. Example:example.netnamestringoptionalA label, at most 100 characters. Defaults to the domain.
notestring | nulloptionalAt most 500 characters: why the agent signed up, or the plan it chose and its price.
Answers 201: The service, newly recorded.
Response 201: Service
An outside service an inbox's address is signed up for: found in mail the service sent, declared by an agent before it signed up, or added by a person.
idstringrequiredA passport service identifier. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1minboxIdstringrequiredAn inbox identifier. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zinboxAddressstringrequiredThe address the service knows the agent by. Example:
concierge@doorman.exampledomainstringrequiredThe service's registrable domain. This is what identifies it: when it was found in mail, the sender was authenticated for it. Example:
example.netnamestringrequiredA label: the sender's display name when the service was found in mail, or the name an agent or a person gave it. It is a claim, not proof; the domain is what was checked. Example:
Example Toolsstatus"pending" | "active" | "cancelled" | "archived"requiredpendinguntil the sign-up is confirmed (a welcome or a receipt arrives, the agent reads its code, or a person says so),active,cancelled, orarchivedwhen a person set it aside as not a sign-up.source"detected" | "declared" | "manual"requireddetectedfrom mail,declaredby an agent, ormanualwhen a person added it.acquiredByServiceActorRef | nullrequiredWho signed up: the agent that declared the service or first read one of its codes, or the person who added it. Null when it was only found in mail.
notestring | nullrequiredA note a person or an agent left.
planServicePlan | nullrequiredWhat the service costs, when someone recorded it.
attentionServiceAttention | nullrequiredAn unacknowledged warning on the service (an unexplained code or link, a password reset, or a security notice); null otherwise, and always null on archived services.
invitedAtstring (date-time) | nullrequiredWhen the newest invitation from the service arrived: mail that asks the address to join, with a link that accepts. The invitation is open while the service is
pending. Null when the service never sent one.signInsServiceSignIn[]requiredHow the address signs in to the service with Doorman: one entry for each relying party under the service's domain. Empty when it gets in some other way, or where the deployment has not switched sign-in on.
lastSignal"verification" | "welcome" | "receipt" | "password_reset" | "security" | "trial" | "cancellation" | "other" | nullrequiredWhat the newest mail from the service was about.
lastSignalAtstring (date-time) | nullrequiredlastReceiptAtstring (date-time) | nullrequiredWhen the newest receipt or invoice arrived: a sign that the service is paid.
lastSecurityAtstring (date-time) | nullrequiredWhen the newest password reset or security notice arrived.
messageCountintegerrequiredMessages tied to the service.
firstSeenAtstring (date-time) | nullrequiredWhen the first mail from the service arrived; null until one does.
lastSeenAtstring (date-time) | nullrequiredWhen the newest mail from the service arrived.
createdAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000Z
Answers 200: The service the inbox already had for this domain, as it is now.
Response 200: Service
An outside service an inbox's address is signed up for: found in mail the service sent, declared by an agent before it signed up, or added by a person.
idstringrequiredA passport service identifier. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1minboxIdstringrequiredAn inbox identifier. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zinboxAddressstringrequiredThe address the service knows the agent by. Example:
concierge@doorman.exampledomainstringrequiredThe service's registrable domain. This is what identifies it: when it was found in mail, the sender was authenticated for it. Example:
example.netnamestringrequiredA label: the sender's display name when the service was found in mail, or the name an agent or a person gave it. It is a claim, not proof; the domain is what was checked. Example:
Example Toolsstatus"pending" | "active" | "cancelled" | "archived"requiredpendinguntil the sign-up is confirmed (a welcome or a receipt arrives, the agent reads its code, or a person says so),active,cancelled, orarchivedwhen a person set it aside as not a sign-up.source"detected" | "declared" | "manual"requireddetectedfrom mail,declaredby an agent, ormanualwhen a person added it.acquiredByServiceActorRef | nullrequiredWho signed up: the agent that declared the service or first read one of its codes, or the person who added it. Null when it was only found in mail.
notestring | nullrequiredA note a person or an agent left.
planServicePlan | nullrequiredWhat the service costs, when someone recorded it.
attentionServiceAttention | nullrequiredAn unacknowledged warning on the service (an unexplained code or link, a password reset, or a security notice); null otherwise, and always null on archived services.
invitedAtstring (date-time) | nullrequiredWhen the newest invitation from the service arrived: mail that asks the address to join, with a link that accepts. The invitation is open while the service is
pending. Null when the service never sent one.signInsServiceSignIn[]requiredHow the address signs in to the service with Doorman: one entry for each relying party under the service's domain. Empty when it gets in some other way, or where the deployment has not switched sign-in on.
lastSignal"verification" | "welcome" | "receipt" | "password_reset" | "security" | "trial" | "cancellation" | "other" | nullrequiredWhat the newest mail from the service was about.
lastSignalAtstring (date-time) | nullrequiredlastReceiptAtstring (date-time) | nullrequiredWhen the newest receipt or invoice arrived: a sign that the service is paid.
lastSecurityAtstring (date-time) | nullrequiredWhen the newest password reset or security notice arrived.
messageCountintegerrequiredMessages tied to the service.
firstSeenAtstring (date-time) | nullrequiredWhen the first mail from the service arrived; null until one does.
lastSeenAtstring (date-time) | nullrequiredWhen the newest mail from the service arrived.
createdAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000Z
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 400 | invalid_json | The request body is not JSON. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | limit_reached | The abuse ceiling for inboxes, custom domains, keys, endpoints, services, relying parties, the services an address signs in to, the sends an inbox has waiting for its owner or the invitations an organization has open; delete, revoke or decide one first. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"id": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"inboxAddress": "concierge@doorman.example",
"domain": "example.net",
"name": "Example Tools",
"status": "active",
"source": "declared",
"acquiredBy": {
"kind": "installation",
"id": "ins_01jc5f1a2b3c4d5e6f7g8h9j0k"
},
"note": null,
"plan": {
"name": "Team",
"amount": 12,
"currency": "USD",
"interval": "month",
"renewsOn": "2026-12-01"
},
"attention": null,
"invitedAt": null,
"lastSignal": "receipt",
"lastSignalAt": "2026-11-05T10:05:00.000Z",
"lastReceiptAt": "2026-11-05T10:05:00.000Z",
"lastSecurityAt": null,
"messageCount": 3,
"firstSeenAt": "2026-11-05T10:05:00.000Z",
"lastSeenAt": "2026-11-05T10:05:00.000Z",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z",
"signIns": []
}{
"id": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"inboxAddress": "concierge@doorman.example",
"domain": "example.net",
"name": "Example Tools",
"status": "active",
"source": "declared",
"acquiredBy": {
"kind": "installation",
"id": "ins_01jc5f1a2b3c4d5e6f7g8h9j0k"
},
"note": null,
"plan": {
"name": "Team",
"amount": 12,
"currency": "USD",
"interval": "month",
"renewsOn": "2026-12-01"
},
"attention": null,
"invitedAt": null,
"lastSignal": "receipt",
"lastSignalAt": "2026-11-05T10:05:00.000Z",
"lastReceiptAt": "2026-11-05T10:05:00.000Z",
"lastSecurityAt": null,
"messageCount": 3,
"firstSeenAt": "2026-11-05T10:05:00.000Z",
"lastSeenAt": "2026-11-05T10:05:00.000Z",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z",
"signIns": []
}curl -s -X POST "https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/services" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"domain": "example.net",
"name": "Example Tools",
"note": "Sign-up for the weekly report"
}'const response = await fetch("https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/services", {
method: "POST",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"domain": "example.net",
"name": "Example Tools",
"note": "Sign-up for the weekly report"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.post(
"https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/services",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"domain": "example.net",
"name": "Example Tools",
"note": "Sign-up for the weekly report",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Update a service
PATCH/v1/services/{serviceId}
Access any: any API key, or a console session.
Renames the service, changes its status, replaces its note or plan, clears an active attention warning (attention: null), or decides about one of its sign-ins (signIn). Fields left out stay as they are; null clears the note, the plan, or attention. Clearing attention, allowing a sign-in and telling a relying party who owns the agent need a console session unless the account allows its account keys to (403 session_required); stopping a sign-in never does. archived sets a service aside as not a sign-up: mail from its domain still points at it, but never makes it pending again, and its sign-ins are stopped.
OAuth: not available to delegated app tokens.
Also available as client.services.update in TypeScript, client.services.update in Python, the services_update tool and doorman services update on the command line.
Organizations: a member's console session needs inboxes:manage and mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
serviceIdstring, in pathrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1m.
Request body (application/json): UpdateService
Changes to a service. Fields left out stay as they are; null clears the note, the plan, or an active warning.
namestringoptionalstatus"pending" | "active" | "cancelled" | "archived"optionalarchivedsets the service aside as not a sign-up: mail from it no longer makes it pending again. It clears any active warning and stops every one of the service'ssignIns.notestring | nulloptionalplanServicePlanInput | nulloptionalattentionanyoptionalNull clears an active
attentionwarning once the owner has checked the account. Needs a console session unless the account allows its account keys to (403session_required).signInobjectoptionalA decision about one of the service's
signIns. Stopping one, and no longer sharing the owner, are open to any key that reaches the service. Allowing one, and sharing the owner, need a console session unless the account allows its account keys to (403session_required).idstringrequiredThe identifier of one address's connection to one relying party. Example:
sig_01jc5f1a2b3c4d5e6f7g8h9j0kstate"allowed" | "blocked"optionalallowedlets the address sign in to the relying party;blockedstops it and ends the links, codes and tokens it was given.shareOwnerbooleanoptionalWhether the relying party is told who owns the agent, when it asks.
Answers 200: The service as it is now.
Response 200: Service
An outside service an inbox's address is signed up for: found in mail the service sent, declared by an agent before it signed up, or added by a person.
idstringrequiredA passport service identifier. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1minboxIdstringrequiredAn inbox identifier. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zinboxAddressstringrequiredThe address the service knows the agent by. Example:
concierge@doorman.exampledomainstringrequiredThe service's registrable domain. This is what identifies it: when it was found in mail, the sender was authenticated for it. Example:
example.netnamestringrequiredA label: the sender's display name when the service was found in mail, or the name an agent or a person gave it. It is a claim, not proof; the domain is what was checked. Example:
Example Toolsstatus"pending" | "active" | "cancelled" | "archived"requiredpendinguntil the sign-up is confirmed (a welcome or a receipt arrives, the agent reads its code, or a person says so),active,cancelled, orarchivedwhen a person set it aside as not a sign-up.source"detected" | "declared" | "manual"requireddetectedfrom mail,declaredby an agent, ormanualwhen a person added it.acquiredByServiceActorRef | nullrequiredWho signed up: the agent that declared the service or first read one of its codes, or the person who added it. Null when it was only found in mail.
notestring | nullrequiredA note a person or an agent left.
planServicePlan | nullrequiredWhat the service costs, when someone recorded it.
attentionServiceAttention | nullrequiredAn unacknowledged warning on the service (an unexplained code or link, a password reset, or a security notice); null otherwise, and always null on archived services.
invitedAtstring (date-time) | nullrequiredWhen the newest invitation from the service arrived: mail that asks the address to join, with a link that accepts. The invitation is open while the service is
pending. Null when the service never sent one.signInsServiceSignIn[]requiredHow the address signs in to the service with Doorman: one entry for each relying party under the service's domain. Empty when it gets in some other way, or where the deployment has not switched sign-in on.
lastSignal"verification" | "welcome" | "receipt" | "password_reset" | "security" | "trial" | "cancellation" | "other" | nullrequiredWhat the newest mail from the service was about.
lastSignalAtstring (date-time) | nullrequiredlastReceiptAtstring (date-time) | nullrequiredWhen the newest receipt or invoice arrived: a sign that the service is paid.
lastSecurityAtstring (date-time) | nullrequiredWhen the newest password reset or security notice arrived.
messageCountintegerrequiredMessages tied to the service.
firstSeenAtstring (date-time) | nullrequiredWhen the first mail from the service arrived; null until one does.
lastSeenAtstring (date-time) | nullrequiredWhen the newest mail from the service arrived.
createdAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000Z
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 400 | invalid_json | The request body is not JSON. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | session_required | Account keys, developer apps, relying parties, installations, consent, approving a sign-in and the assistant require a console session. So does loosening the security policy, trusting a sender, releasing held mail, allowing a sign-in, letting agents sign in to new services alone or telling a service who owns an agent, unless the account allows its account keys to. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"id": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"inboxAddress": "concierge@doorman.example",
"domain": "example.net",
"name": "Example Tools",
"status": "active",
"source": "declared",
"acquiredBy": {
"kind": "installation",
"id": "ins_01jc5f1a2b3c4d5e6f7g8h9j0k"
},
"note": null,
"plan": {
"name": "Team",
"amount": 12,
"currency": "USD",
"interval": "month",
"renewsOn": "2026-12-01"
},
"attention": null,
"invitedAt": null,
"lastSignal": "receipt",
"lastSignalAt": "2026-11-05T10:05:00.000Z",
"lastReceiptAt": "2026-11-05T10:05:00.000Z",
"lastSecurityAt": null,
"messageCount": 3,
"firstSeenAt": "2026-11-05T10:05:00.000Z",
"lastSeenAt": "2026-11-05T10:05:00.000Z",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z",
"signIns": []
}curl -s -X PATCH "https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"status": "cancelled"
}'const response = await fetch("https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m", {
method: "PATCH",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"status": "cancelled"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.patch(
"https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"status": "cancelled",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Delete a service
DELETE/v1/services/{serviceId}
Access any: any API key, or a console session.
Removes the service from the passport, with what was decided about its sign-ins. Its messages stay. A later message from the domain that concerns an account there records it again, and a later sign-in asks the owner again; archive it instead to keep it set aside.
OAuth: not available to delegated app tokens.
Also available as client.services.delete in TypeScript, client.services.delete in Python, the services_delete tool and doorman services delete on the command line.
Organizations: a member's console session needs inboxes:manage. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
serviceIdstring, in pathrequiredThe service. Example:
svc_01jc5g2b3c4d5e6f7g8h9j0k1m.
Answers 204: Deleted.
Errors
| Status | Error | Meaning |
|---|---|---|
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
curl -s -X DELETE "https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m", {
method: "DELETE",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
},
redirect: "manual", credentials: "omit",
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
// 204: nothing to read.import os
import requests
response = requests.delete(
"https://api.doorman.fyi/v1/services/svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
# 204: nothing to read.Read verification codes
GET/v1/inboxes/{inboxId}/verifications
Access any: any API key, or a console session.
The verification codes and sign-in links the inbox read from its mail in the last 60 minutes, newest first. After signing up, call it with domain and waitSeconds to be handed the code as soon as it arrives. Each says whether its sender was authenticated (verified), and a link whether it points at the sender's own domain (matchesSender): treat anything else with suspicion. An agent's read is recorded on what it was handed, and a read with domain confirms the pending sign-up and attributes it to the agent when no agent has. A service's invitation to join is served for 14 days with invitation true: accept one only when your user asked.
OAuth: allowed with all of mail:read. App permissions apply in addition to account and resource checks.
Also available as client.inboxes.verifications.list in TypeScript, client.inboxes.verifications.list in Python, the inboxes_verifications_list tool and doorman inboxes verifications list on the command line.
Organizations: a member's console session needs mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
inboxIdstring, in pathrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7z.domainstring, in queryoptionalOnly codes and links from this service's domain, or a host under it.
sincestring (date-time), in queryoptionalOnly those that arrived after this instant.
waitSecondsinteger, in queryoptionalWhen none has arrived yet, wait up to this many seconds for one. Defaults to 0.
Answers 200: The codes and links, newest first.
Response 200: VerificationList
The verification codes and sign-in links of the last hour and the invitations of the last 14 days, newest first.
dataVerification[]requiredAt most 20.
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 500 | internal_error | Something went wrong on the server. |
curl -s "https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/verifications" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/verifications", {
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
},
redirect: "manual", credentials: "omit",
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.get(
"https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/verifications",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Start a sign-in
POST/v1/inboxes/{inboxId}/sign-ins
Access any: any API key, or a console session.
Signs the inbox's address in to a service that accepts Sign in with Doorman, with no password and no email code. Call it only when your user asked you to use that service. status says what comes next. ready: open url, a single-use link good for 5 minutes, in the browser that should hold the session, and show it to nobody. approval_required: the owner has to allow the service once, at approvalUrl; tell your user, then call again. blocked: the owner stopped it, so do not sign in there another way. unsupported: sign up with the service's own form and the verification codes.
OAuth: allowed with all of mail:write, mail:read. App permissions apply in addition to account and resource checks.
Part of Sign in with Doorman, which a deployment switches on. Where it is off this route answers 404 not_found, and features.signIn of GET /v1/me is false.
Also available as client.inboxes.signIns.create in TypeScript, client.inboxes.sign_ins.create in Python, the inboxes_signIns_create tool and doorman inboxes sign-ins create on the command line.
Organizations: a member's console session needs mail:write and mail:read. API keys and app tokens are not held to member permissions. See Roles and permissions.
Parameters
inboxIdstring, in pathrequiredThe inbox. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7z.
Request body (application/json): StartSignIn
The service an agent wants to sign in to with the inbox's address: its domain, or the relying party's own id. One of the two.
domainstringoptionalThe service's domain or host.
clientIdstringoptionalOr the relying party's id, when the service states one.
Answers 200: What the sign-in needs next.
Response 200: SignInStart
What starting a sign-in answered. Only ready carries a link, and the link is a secret.
status"ready" | "approval_required" | "blocked" | "unsupported"requiredready: openurlin the browser that should hold the session at the service, beforeexpiresAt.approval_required: the owner has to allow this service once, atapprovalUrl; start again after they have.blocked: the owner stopped this address signing in there, and it is not to sign in there another way.unsupported: the service does not accept Sign in with Doorman, so sign up with its own form and the verification codes instead.inboxIdstringrequiredAn inbox identifier. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zserviceIdstring | nullrequiredThe service in the inbox's passport, recorded when the sign-in started; null when
unsupported.clientSignInClientSummary | nullrequiredThe relying party the sign-in is for; null when
unsupported.urlstring | nullrequiredreadyonly: the single-use sign-in link. It signs this address in to this service, once. Open it in the browser that should hold the session, and never send it to anyone or write it anywhere.approvalUrlstring | nullrequiredapproval_requiredonly: where the owner allows the service. Tell your user; it needs their own session.expiresAtstring (date-time) | nullrequiredreadyonly: when the link stops working.
Errors
| Status | Error | Meaning |
|---|---|---|
| 400 | validation_error | A field is missing or invalid; the message names it. |
| 400 | invalid_json | The request body is not JSON. |
| 401 | unauthorized | The credential was missing, malformed, revoked or belongs to an inactive account. |
| 401 | session_invalid | The console session token could not be verified. |
| 401 | session_expired | The console session token has expired. |
| 401 | session_claims_missing | The session token does not carry a verified email address. |
| 403 | inbox_suspended | The inbox cannot send, or start a sign-in, at the moment. |
| 403 | insufficient_scope | The app's token lacks a required scope, or the operation cannot be delegated. |
| 403 | account_suspended | The account is suspended. |
| 403 | account_deleted | The account was deleted. |
| 403 | permission_denied | The signed-in member's role in the organization lacks a permission the operation needs; permission names it. An admin of the organization can do it, or change the member's role. |
| 403 | member_deactivated | The signed-in person's access to the organization was deactivated, or they were removed from it. It holds from their next request, whatever their session token says. An admin of the organization can let a deactivated member in again. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 409 | limit_reached | The abuse ceiling for inboxes, custom domains, keys, endpoints, services, relying parties, the services an address signs in to, the sends an inbox has waiting for its owner or the invitations an organization has open; delete, revoke or decide one first. |
| 409 | account_mismatch | The request named another account in x-doorman-account than the one its credential acts for, as happens when the console's organization was switched in another tab. Reload and try again. |
| 429 | rate_limit_exceeded | A per-inbox or per-account rate limit; Retry-After and resetsAt say when to try again. |
| 500 | internal_error | Something went wrong on the server. |
{
"status": "ready",
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"serviceId": "svc_01jc5g2b3c4d5e6f7g8h9j0k1m",
"client": {
"id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"verified": true
},
"url": "https://doorman.example/passport/start?link=dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"approvalUrl": null,
"expiresAt": "2026-11-05T10:10:00.000Z"
}curl -s -X POST "https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/sign-ins" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"domain": "app.example.net"
}'const response = await fetch("https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/sign-ins", {
method: "POST",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"domain": "app.example.net"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import os
import requests
response = requests.post(
"https://api.doorman.fyi/v1/inboxes/inb_01jc4q7w9k2m5n8p3r6t1v4x7z/sign-ins",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"domain": "app.example.net",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()
