On this page
Session context, members, organizations and brands, passkeys and organization sign-in.
Root procedures#
Source: apps/web/src/server/routers/root.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
health |
query | public |
Liveness check { ok, ts }; needs no sign-in. |
me |
query | authed |
The current session context: userId, orgId, isSuperAdmin. |
orgs#
Source: apps/web/src/server/routers/orgs.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgs. |
query | authed |
— |
orgs. |
query | orgProcedure |
— |
orgs. |
query | authed |
— |
orgs. |
mutation | rateLimited, owner or admin |
— |
orgs. |
mutation | rateLimited, owner or admin |
White-label rail identity: refused unless a super admin granted white-label. |
orgs. |
mutation | rateLimited, owner or admin |
The org's NMV definition. |
orgs. |
mutation | rateLimited, manage_ |
— |
orgs. |
query | orgProcedure, owner or admin |
Pages and dashboards an owner/admin can pick as the post-login default. |
orgs. |
mutation | rateLimited, owner or admin |
Post-login landing override. |
orgs. |
mutation | rateLimited, owner or admin |
Brand a member with no brand choice yet is pinned to. |
users#
Source: apps/web/src/server/routers/users.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
users. |
query | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
— |
users. |
mutation | authed |
Regenerate recovery codes without re-doing the TOTP setup. |
users. |
query | authed |
Read-only: how many unused recovery codes the user has left. |
users. |
query | authed |
— |
users. |
mutation | authed |
Add a member to this org. |
users. |
mutation | rateLimited |
Change a member's role. |
users. |
mutation | rateLimited |
Assign a member to specific brands (or back to every brand). |
users. |
mutation | rateLimited |
— |
brands#
Source: apps/web/src/server/routers/brands.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
brands. |
query | orgProcedure |
Brands the signed-in user can see inside the active org. |
brands. |
query | orgProcedure |
— |
brands. |
query | orgProcedure, manage_ |
— |
brands. |
mutation | rateLimited, manage_ |
— |
brands. |
mutation | rateLimited, manage_ |
Edit an existing brand. |
brands. |
query | orgProcedure, owner or admin |
— |
brands. |
mutation | rateLimited, owner or admin |
Post-login landing override of one brand. |
brands. |
mutation | rateLimited, owner or admin |
— |
brands. |
mutation | rateLimited, owner or admin |
— |
brands. |
query | orgProcedure, owner or admin |
the brand'S alias pairs — read. |
brands. |
mutation | rateLimited, owner or admin |
— |
brands. |
mutation | rateLimited, manage_ |
— |
passkeys#
Source: apps/web/src/server/routers/passkeys.ts
User-facing passkey management.
| Procedure | Type | Access | Description |
|---|---|---|---|
passkeys. |
query | authed |
— |
passkeys. |
mutation | authed |
— |
passkeys. |
mutation | authed |
— |
socialIdentities#
Source: apps/web/src/server/routers/social-identities.ts
The signed-in user's own linked social accounts.
| Procedure | Type | Access | Description |
|---|---|---|---|
social |
query | authed |
— |
social |
mutation | authed |
— |
social |
mutation | authed |
— |
social |
query | orgProcedure |
The org's switch, managed beside its member list. |
social |
mutation | rateLimited |
— |
orgAuthLdap#
Source: apps/web/src/server/routers/org-auth-ldap.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgAuthLdap. |
query | orgProcedure, manage_ |
Read the org's config without the encrypted bind password. |
orgAuthLdap. |
mutation | rateLimited, manage_ |
— |
orgAuthLdap. |
mutation | authed, manage_ |
— |
orgAuthOidc#
Source: apps/web/src/server/routers/org-auth-oidc.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgAuthOidc. |
query | orgProcedure, manage_ |
List every provider row this org has (created by a super admin, whether or not yet fully configured) — no secrets, enabled echoed read-only. |
orgAuthOidc. |
query | orgProcedure, manage_ |
— |
orgAuthOidc. |
mutation | rateLimited, manage_ |
Update an existing provider slot's connection config. |
orgAuthOidc. |
mutation | authed, manage_ |
— |
orgLoginPage#
Source: apps/web/src/server/routers/org-login-page.ts
| Procedure | Type | Access | Description |
|---|---|---|---|
orgLoginPage. |
query | orgProcedure, manage_ |
Read the org's draft + entitlement/publish state. |
orgLoginPage. |
mutation | rateLimited, manage_ |
— |
orgLoginPage. |
mutation | rateLimited, manage_ |
Copy draft → a new published-history row and bump the pointer. |
orgLoginPage. |
query | orgProcedure, manage_ |
Metadata only (no config bodies) — light enough for a version-history list. |
orgLoginPage. |
mutation | rateLimited, manage_ |
— |