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.
List relying parties
GET/v1/sign-in/clients
Access session: a console session only; an API key gets 403 session_required.
The relying parties this account registered, oldest first. Relying parties that publish their own identity, and those of other accounts, are not listed.
OAuth: not available to delegated app tokens.
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.signIn.clients.list in TypeScript and client.sign_in.clients.list in Python.
Organizations: every member's console session may call it. See Roles and permissions.
Answers 200: The relying parties.
Response 200: SignInClientList
The relying parties the account registered, oldest first.
dataSignInClient[]required
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 | 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 | 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. |
| 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/sign-in/clients" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients", {
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/sign-in/clients",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Register a relying party
POST/v1/sign-in/clients
Access session: a console session only; an API key gets 403 session_required.
Registers a service that lets agents sign in with Doorman, identified by its host. Every redirect and the start URL must be on that host. Unless it is a public one, the answer carries its secret, once. Until the host proves it is the service's own (signIn.clients.verify), only addresses of this account can sign in to it. An account registers at most 25.
OAuth: not available to delegated app tokens.
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.signIn.clients.create in TypeScript and client.sign_in.clients.create in Python.
Organizations: a member's console session needs apps:manage. See Roles and permissions.
Request body (application/json): CreateSignInClient
Register a relying party: a service that lets agents sign in with Doorman. It is identified by its host, and every URL it registers is on that host.
namestringrequiredWhat the service calls itself. People are shown the host beside it.
hoststringrequiredThe host agents sign in at. A public name the service can prove is its own, or
localhost,127.0.0.1or[::1]while developing: a relying party on your own machine signs in your own addresses only. Example:app.example.netredirectUrisstring[]requiredstartUrlstringoptionalWhere the service starts a Sign in with Doorman (OpenID Connect's
initiate_login_uri). A sign-in link sends the browser there withissandlogin_hint. Without one, the browser is sent to the service's front page.tokenEndpointAuthMethod"client_secret_basic" | "client_secret_post" | "none"optionalDefaults to
client_secret_basic. A relying party with a secret may present it either way.noneregisters a public one, which holds no secret and uses S256 PKCE.
Answers 201: The relying party, with its one-time secret if it has one.
Response 201: CreatedSignInClient
A new relying party and, unless it is a public one, its secret, shown once.
idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0knamestringrequiredhoststringrequiredredirectUrisstring[]requiredstartUrlstring | nullrequiredtokenEndpointAuthMethod"client_secret_basic" | "client_secret_post" | "none"requiredverifiedbooleanrequiredWhether the host proved it is the relying party's own. Until it does, only addresses of the account that registered it can sign in.
verifiedAtstring (date-time) | nullrequiredproofobject | nullrequiredHow the host proves it is the relying party's own; null for a host on the developer's own machine, which has nothing to prove.
urlstringrequiredServe the file here, over HTTPS, without a redirect.
bodyobjectrequiredThe file's JSON. Other fields beside these two are ignored.
client_idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0kproofstringrequiredstatus"active" | "deleted"requiredcreatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZclientSecretstring | nullrequired
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 | 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. |
curl -s -X POST "https://api.doorman.fyi/v1/sign-in/clients" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": [
"https://app.example.net/auth/callback"
],
"startUrl": "https://app.example.net/auth/doorman"
}'const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients", {
method: "POST",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": [
"https://app.example.net/auth/callback"
],
"startUrl": "https://app.example.net/auth/doorman"
}),
});
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/sign-in/clients",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": ["https://app.example.net/auth/callback"],
"startUrl": "https://app.example.net/auth/doorman",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Read a relying party
GET/v1/sign-in/clients/{clientId}
Access session: a console session only; an API key gets 403 session_required.
One relying party this account registered, with the proof its host has to serve, never its secret.
OAuth: not available to delegated app tokens.
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.signIn.clients.get in TypeScript and client.sign_in.clients.get in Python.
Organizations: every member's console session may call it. See Roles and permissions.
Parameters
clientIdstring, in pathrequiredThe relying party. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0k.
Answers 200: The relying party.
Response 200: SignInClient
A relying party a developer registered, without its secret.
idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0knamestringrequiredhoststringrequiredredirectUrisstring[]requiredstartUrlstring | nullrequiredtokenEndpointAuthMethod"client_secret_basic" | "client_secret_post" | "none"requiredverifiedbooleanrequiredWhether the host proved it is the relying party's own. Until it does, only addresses of the account that registered it can sign in.
verifiedAtstring (date-time) | nullrequiredproofobject | nullrequiredHow the host proves it is the relying party's own; null for a host on the developer's own machine, which has nothing to prove.
urlstringrequiredServe the file here, over HTTPS, without a redirect.
bodyobjectrequiredThe file's JSON. Other fields beside these two are ignored.
client_idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0kproofstringrequiredstatus"active" | "deleted"requiredcreatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZupdatedAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000Z
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 | 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 | 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. |
| 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": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": [
"https://app.example.net/auth/callback"
],
"startUrl": "https://app.example.net/auth/doorman",
"tokenEndpointAuthMethod": "client_secret_basic",
"verified": false,
"verifiedAt": null,
"proof": {
"url": "https://app.example.net/.well-known/doorman-sign-in.json",
"body": {
"client_id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"proof": "ccccccccccccccccccccccccccccccccccccccccccc"
}
},
"status": "active",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z"
}curl -s "https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k", {
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/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Update a relying party
PATCH/v1/sign-in/clients/{clientId}
Access session: a console session only; an API key gets 403 session_required.
Replaces the name, the redirects or the start URL. Sign-ins in progress end. The addresses already allowed stay allowed: they were allowed for the host, and the host never changes.
OAuth: not available to delegated app tokens.
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.signIn.clients.update in TypeScript and client.sign_in.clients.update in Python.
Organizations: a member's console session needs apps:manage. See Roles and permissions.
Parameters
clientIdstring, in pathrequiredThe relying party. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0k.
Request body (application/json): UpdateSignInClient
Replace the fields given. The host never changes: register another relying party for another host.
namestringoptionalredirectUrisstring[]optionalEvery one on the relying party's host.
startUrlstring | nulloptionalOn the relying party's host. Null removes it.
Answers 200: The relying party as it is now.
Response 200: SignInClient
A relying party a developer registered, without its secret.
idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0knamestringrequiredhoststringrequiredredirectUrisstring[]requiredstartUrlstring | nullrequiredtokenEndpointAuthMethod"client_secret_basic" | "client_secret_post" | "none"requiredverifiedbooleanrequiredWhether the host proved it is the relying party's own. Until it does, only addresses of the account that registered it can sign in.
verifiedAtstring (date-time) | nullrequiredproofobject | nullrequiredHow the host proves it is the relying party's own; null for a host on the developer's own machine, which has nothing to prove.
urlstringrequiredServe the file here, over HTTPS, without a redirect.
bodyobjectrequiredThe file's JSON. Other fields beside these two are ignored.
client_idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0kproofstringrequiredstatus"active" | "deleted"requiredcreatedAtstring (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 | 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": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": [
"https://app.example.net/auth/callback"
],
"startUrl": "https://app.example.net/auth/doorman",
"tokenEndpointAuthMethod": "client_secret_basic",
"verified": false,
"verifiedAt": null,
"proof": {
"url": "https://app.example.net/.well-known/doorman-sign-in.json",
"body": {
"client_id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"proof": "ccccccccccccccccccccccccccccccccccccccccccc"
}
},
"status": "active",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z"
}curl -s -X PATCH "https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"name": "Example Tools Workspace"
}'const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k", {
method: "PATCH",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"name": "Example Tools Workspace"
}),
});
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/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"name": "Example Tools Workspace",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Delete a relying party
DELETE/v1/sign-in/clients/{clientId}
Access session: a console session only; an API key gets 403 session_required.
Disables the relying party. No address can sign in to it any more, and what was decided about it leaves every passport. A session the service itself keeps is the service's own.
OAuth: not available to delegated app tokens.
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.signIn.clients.delete in TypeScript and client.sign_in.clients.delete in Python.
Organizations: a member's console session needs apps:manage. See Roles and permissions.
Parameters
clientIdstring, in pathrequiredThe relying party. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0k.
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 | 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 | 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/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k", {
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/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
# 204: nothing to read.Rotate a relying party's secret
POST/v1/sign-in/clients/{clientId}/rotate-secret
Access session: a console session only; an API key gets 403 session_required.
Replaces the secret and returns the new one once. The one before it stops working at once. A public relying party has none (400 validation_error).
OAuth: not available to delegated app tokens.
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.signIn.clients.rotateSecret in TypeScript and client.sign_in.clients.rotate_secret in Python.
Organizations: a member's console session needs apps:manage. See Roles and permissions.
Parameters
clientIdstring, in pathrequiredThe relying party. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0k.
Answers 200: The new secret, shown once.
Response 200: SignInClientSecret
A relying party's new secret, shown once. The one before it stops working at once.
idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0kclientSecretstringrequired
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 | 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 | 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 POST "https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/rotate-secret" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/rotate-secret", {
method: "POST",
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.post(
"https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/rotate-secret",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Verify a relying party's host
POST/v1/sign-in/clients/{clientId}/verify
Access session: a console session only; an API key gets 403 session_required.
Reads the proof file from the relying party's host (proof.url): one GET over HTTPS that follows no redirect and carries no credential, within 5 seconds and 8 KiB. When the file is JSON that carries this relying party's client_id and proof, the host is verified and addresses of any account can sign in to it. Anything else answers 409 host_proof_failed and changes nothing. A host on the developer's own machine cannot be verified (400 validation_error).
OAuth: not available to delegated app tokens.
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.signIn.clients.verify in TypeScript and client.sign_in.clients.verify in Python.
Organizations: a member's console session needs apps:manage. See Roles and permissions.
Parameters
clientIdstring, in pathrequiredThe relying party. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0k.
Answers 200: The relying party, now verified.
Response 200: SignInClient
A relying party a developer registered, without its secret.
idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0knamestringrequiredhoststringrequiredredirectUrisstring[]requiredstartUrlstring | nullrequiredtokenEndpointAuthMethod"client_secret_basic" | "client_secret_post" | "none"requiredverifiedbooleanrequiredWhether the host proved it is the relying party's own. Until it does, only addresses of the account that registered it can sign in.
verifiedAtstring (date-time) | nullrequiredproofobject | nullrequiredHow the host proves it is the relying party's own; null for a host on the developer's own machine, which has nothing to prove.
urlstringrequiredServe the file here, over HTTPS, without a redirect.
bodyobjectrequiredThe file's JSON. Other fields beside these two are ignored.
client_idstringrequiredA registered relying party's identifier. Example:
sic_01jc5f1a2b3c4d5e6f7g8h9j0kproofstringrequiredstatus"active" | "deleted"requiredcreatedAtstring (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. |
| 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 | 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 | host_proof_failed | The relying party's host did not serve the proof file it was given; the message says what was found instead. Publish the file and verify 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. |
| 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. |
{
"id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"redirectUris": [
"https://app.example.net/auth/callback"
],
"startUrl": "https://app.example.net/auth/doorman",
"tokenEndpointAuthMethod": "client_secret_basic",
"verified": false,
"verifiedAt": null,
"proof": {
"url": "https://app.example.net/.well-known/doorman-sign-in.json",
"body": {
"client_id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"proof": "ccccccccccccccccccccccccccccccccccccccccccc"
}
},
"status": "active",
"createdAt": "2026-11-05T10:05:00.000Z",
"updatedAt": "2026-11-05T10:05:00.000Z"
}curl -s -X POST "https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/verify" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/verify", {
method: "POST",
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.post(
"https://api.doorman.fyi/v1/sign-in/clients/sic_01jc5f1a2b3c4d5e6f7g8h9j0k/verify",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Read a sign-in that waits for the owner
GET/v1/sign-in/requests/{requestId}
Access session: a console session only; an API key gets 403 session_required.
Binds an unused authorization request to this account and console session, and returns who is asking, for which address and for what. It allows nothing. Each read replaces the request's csrf. A relying party that has not proved its host answers 404 to every account but the one that registered it.
OAuth: not available to delegated app tokens.
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.signIn.requests.get in TypeScript and client.sign_in.requests.get in Python.
Organizations: a member's console session needs inboxes:manage. See Roles and permissions.
Parameters
requestIdstring, in pathrequiredThe waiting authorization request. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
Answers 200: The session-bound request.
Response 200: SignInApproval
A sign-in that waits for the owner's decision, bound to the console session that read it. Nothing is allowed automatically.
requestIdstringrequiredA waiting authorization request. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaclientSignInClientSummaryrequiredinboxIdstring | nullrequiredThe address that would be signed in, when the request already says which: the browser opened a sign-in link for it, or the relying party named it. Null when the owner has to choose one.
inboxAddressstring | nullrequiredExample:
concierge@doorman.examplestate"pending" | "allowed" | "blocked" | nullrequiredWhat was decided before about this address at this relying party; null when nothing was, or when no address is named yet.
shareOwnerbooleanrequiredWhether this relying party is already told who owns the agent.
scopes("openid" | "email" | "profile" | "owner_profile" | "owner_email")[]requiredWhat the relying party asked to be told.
ownerRequestedbooleanrequiredWhether it asked who owns the agent. The owner answers that separately, with
shareOwner.redirectHoststringrequiredWhere the browser goes back to once the owner decides. Example:
app.example.netexpiresAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZcsrfstringrequiredSent back with the decision. Each read replaces it. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
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 | 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 | 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. |
{
"requestId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"client": {
"id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"verified": true
},
"inboxId": "inb_01jc4q7w9k2m5n8p3r6t1v4x7z",
"inboxAddress": "concierge@doorman.example",
"state": null,
"shareOwner": false,
"scopes": [
"openid",
"email"
],
"ownerRequested": false,
"redirectHost": "app.example.net",
"expiresAt": "2026-11-05T10:20:00.000Z",
"csrf": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
}curl -s "https://api.doorman.fyi/v1/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "authorization: Bearer $DOORMAN_API_KEY"const response = await fetch("https://api.doorman.fyi/v1/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {
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/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Decide a sign-in
POST/v1/sign-in/requests/{requestId}
Access session: a console session only; an API key gets 403 session_required.
Allows or denies once, with the request's csrf and the same console session. Allowing connects the address to the relying party, so its agents sign in there alone from then on, and sends the browser back with a code that lasts 60 seconds. Denying sends it back with access_denied and changes nothing else. Nothing but a person's session can call this.
OAuth: not available to delegated app tokens.
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.signIn.requests.decide in TypeScript and client.sign_in.requests.decide in Python.
Organizations: a member's console session needs inboxes:manage. See Roles and permissions.
Parameters
requestIdstring, in pathrequiredThe waiting authorization request. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
Request body (application/json): DecideSignIn
The owner's decision on one waiting sign-in. Allowing it allows the address at that relying party from then on, until the owner stops it.
decision"allow" | "deny"requiredinboxIdstringoptionalThe address to sign in, when the request named none. Where it named one, leave it out or repeat it. Example:
inb_01jc4q7w9k2m5n8p3r6t1v4x7zshareOwnerbooleanoptionalWhether the relying party is told who owns the agent, when it asks. Left out, a new connection does not, and an existing one keeps its choice.
csrfstringrequiredA waiting authorization request. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Answers 200: Where the browser goes next.
Response 200: SignInDecision
Where the browser goes next: back to the relying party, with a code or with access_denied.
redirectUrlstringrequired
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 | 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. |
{
"redirectUrl": "https://app.example.net/auth/callback?state=af0ifjsldkj&iss=https%3A%2F%2Fid.doorman.example&code=dsc_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"
}curl -s -X POST "https://api.doorman.fyi/v1/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-H "authorization: Bearer $DOORMAN_API_KEY" \
-H "content-type: application/json" \
-d '{
"decision": "allow",
"shareOwner": false,
"csrf": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
}'const response = await fetch("https://api.doorman.fyi/v1/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", {
method: "POST",
headers: {
authorization: `Bearer ${process.env.DOORMAN_API_KEY}`,
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"decision": "allow",
"shareOwner": false,
"csrf": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
}),
});
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/sign-in/requests/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
headers={"authorization": f"Bearer {os.environ['DOORMAN_API_KEY']}"},
json={
"decision": "allow",
"shareOwner": False,
"csrf": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Read a sign-in link
POST/sign-in/links/read
Access public: no credential.
What a sign-in link is for, for the page that shows it before anyone continues. Reading spends nothing. An unknown, a used and an expired link all answer 404. Called by the web app's server; the link in the body is what it answers to.
OAuth: not available to delegated app tokens.
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.signIn.links.read in TypeScript and client.sign_in.links.read in Python.
Request body (application/json): SignInLinkRequest
A sign-in link, as the web app's server presents it for the browser that opened it.
linkstringrequiredThe secret a sign-in link carries: single use, 5 minutes. Example:
dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Answers 200: The address and the relying party the link is for.
Response 200: SignInLinkPreview
What a sign-in link is for, so the page can say it before anyone continues. It carries no secret.
inboxAddressstringrequiredExample:
concierge@doorman.exampleclientSignInClientSummaryrequiredexpiresAtstring (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. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 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. |
{
"inboxAddress": "concierge@doorman.example",
"client": {
"id": "sic_01jc5f1a2b3c4d5e6f7g8h9j0k",
"name": "Example Tools",
"host": "app.example.net",
"verified": true
},
"expiresAt": "2026-11-05T10:10:00.000Z"
}curl -s -X POST "https://api.doorman.fyi/sign-in/links/read" \
-H "content-type: application/json" \
-d '{
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}'const response = await fetch("https://api.doorman.fyi/sign-in/links/read", {
method: "POST",
headers: {
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import requests
response = requests.post(
"https://api.doorman.fyi/sign-in/links/read",
headers={},
json={
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Open a sign-in link
POST/sign-in/links/open
Access public: no credential.
Spends a sign-in link, and returns a binding for the browser that opened it and where that browser continues. The binding lasts 5 minutes and finishes one sign-in, to the link's relying party only. The link is spent whatever happens next.
OAuth: not available to delegated app tokens.
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.signIn.links.open in TypeScript and client.sign_in.links.open in Python.
Request body (application/json): SignInLinkRequest
A sign-in link, as the web app's server presents it for the browser that opened it.
linkstringrequiredThe secret a sign-in link carries: single use, 5 minutes. Example:
dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Answers 200: The binding and where the browser continues.
Response 200: SignInLinkOpened
The link is spent. The web app keeps binding in a short-lived cookie on its own origin and sends the browser to startUrl.
bindingstringrequiredWhat ties one browser to the sign-in it opened. Example:
dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyybindingExpiresAtstring (date-time)requiredExample:
2026-11-05T10:05:00.000ZstartUrlstringrequiredWhere the browser continues: the relying party's start URL with
issandlogin_hint, or its own front page when it registered none.
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. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 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. |
{
"binding": "dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
"bindingExpiresAt": "2026-11-05T10:10:00.000Z",
"startUrl": "https://app.example.net/auth/doorman?iss=https%3A%2F%2Fid.doorman.example&login_hint=concierge%40doorman.example"
}curl -s -X POST "https://api.doorman.fyi/sign-in/links/open" \
-H "content-type: application/json" \
-d '{
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}'const response = await fetch("https://api.doorman.fyi/sign-in/links/open", {
method: "POST",
headers: {
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import requests
response = requests.post(
"https://api.doorman.fyi/sign-in/links/open",
headers={},
json={
"link": "dsl_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()Resume a sign-in
POST/sign-in/requests/resume
Access public: no credential.
Finishes a waiting authorization request for the browser it belongs to. With the binding of a sign-in link opened for the same relying party, and the address allowed there, the answer sends the browser back with a code. Without one, the owner has to decide in the console; a request that asked for no interaction is sent back with login_required instead. Everything is read again as it is now: an address the owner stopped goes back with access_denied.
OAuth: not available to delegated app tokens.
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.signIn.requests.resume in TypeScript and client.sign_in.requests.resume in Python.
Request body (application/json): ResumeSignIn
A waiting authorization request, and the binding its browser holds when it opened a sign-in link.
requestIdstringrequiredA waiting authorization request. Example:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabindingstringoptionalFrom the browser's cookie. Left out when the browser holds none. Example:
dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
Answers 200: Where the browser goes next.
Response 200: SignInResumed
What became of a waiting authorization request: the browser goes back to the relying party, or the owner has to decide first.
status"redirect" | "approval_required"requiredredirectUrlstring | nullrequiredredirectonly: back to the relying party, with a code or with an error.approvalUrlstring | nullrequiredapproval_requiredonly: where the owner decides, in the console.
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. |
| 404 | not_found | No such resource for this caller, or no such route. |
| 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": "redirect",
"redirectUrl": "https://app.example.net/auth/callback?state=af0ifjsldkj&iss=https%3A%2F%2Fid.doorman.example&code=dsc_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz",
"approvalUrl": null
}curl -s -X POST "https://api.doorman.fyi/sign-in/requests/resume" \
-H "content-type: application/json" \
-d '{
"requestId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding": "dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
}'const response = await fetch("https://api.doorman.fyi/sign-in/requests/resume", {
method: "POST",
headers: {
"content-type": "application/json",
},
redirect: "manual", credentials: "omit",
body: JSON.stringify({
"requestId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding": "dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
}),
});
if (!response.ok) throw new Error(`The API answered ${response.status}.`);
const result = await response.json();import requests
response = requests.post(
"https://api.doorman.fyi/sign-in/requests/resume",
headers={},
json={
"requestId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"binding": "dsb_yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
},
allow_redirects=False, timeout=30,
)
response.raise_for_status()
result = response.json()
