API Reference
Complete endpoint listing for the Orion platform
All API endpoints require authentication unless otherwise noted. The Legacy API uses HMAC (System Account) authentication. OAuth endpoints use standard OAuth flows. Management API endpoints require HMAC authentication from an administrator's system account.
Authentication
/legacy/api/Authentication/legacy/api/Authentication/User/Login/{appId?}
Authenticate user (email + password)
/legacy/api/Authentication/User/Logout/{everywhere?}
Invalidate session(s)
/legacy/api/Authentication/User/Register
Register new user
/legacy/api/Authentication/User/Register/Complete/{key}
Complete email verification
/legacy/api/Authentication/User/Roaming/Register
Register user from another org
/legacy/api/Authentication/User/{email}/PasswordReset
Request password reset
/legacy/api/Authentication/Organisation/{publicId}/Register/Account
Register user in specific org
/legacy/api/Authentication/Action/{id}/{type}
Complete authentication action
/legacy/api/Authentication/Action/{id}/{type}/Requirement
Check action requirement
/legacy/api/Authentication/Account/VerifyIdentity/{key?}
Verify user identity
Users
/legacy/api/User/legacy/api/User/Profile/{appId}/{key}/{extendSetting?}
Get user profile by session key
/legacy/api/User/{userId}/OrionSessions
List active sessions for user
/legacy/api/User/Username/Available/{username}
Check username availability
Keys
/legacy/api/Keys/legacy/api/Keys/User/{key}
Validate session key
/legacy/api/Keys/User/{key}/Convert/To/UserTemp
Convert to temporary key
/legacy/api/Keys/User/{key}/Convert/To/UserPerm
Convert to permanent key
/legacy/api/Keys/User/{key}/Permission/{appId}
Check key permission for app
Organisations
/legacy/api/Organisation/legacy/api/Organisation/Application/List
List apps in caller's org
/legacy/api/Organisation/External/Application/List
List all accessible apps
/legacy/api/Organisations/{appId}/{publicId}/application/list
List apps by org ID
OAuth 2.0 / OIDC Endpoints
All OAuth endpoints are scoped per organisation via the {orgPublicId} path segment.
Discovery & Keys
/oauth/{org}/.well-known/openid-configuration
OIDC Discovery document
/oauth/{org}/.well-known/jwks.json
JSON Web Key Set
Authorization & Token
/oauth/{org}/authorize
Authorization endpoint (start flow)
/oauth/{org}/authorize
Process consent decision
/oauth/{org}/login
Process login form submission
/oauth/{org}/twofactor
Process 2FA challenge
/oauth/{org}/token
Token endpoint (exchange code/refresh)
/oauth/{org}/revoke
Revoke a token
/oauth/{org}/introspect
Token introspection
User & Session
/oauth/{org}/userinfo
Get authenticated user info
/oauth/{org}/end_session
End session / logout
Device Authorization
/oauth/{org}/device
Request device code
/oauth/{org}/device/verify
Device verification page
/oauth/{org}/device/verify
Submit device verification
Consent
/oauth/{org}/consent
Consent screen
/oauth/{org}/user/consents
List user's granted consents
/oauth/{org}/user/consents/{id}/revoke
Revoke a consent
Management API (OAuth Administration)
These endpoints are for programmatic OAuth client management. Requires HMAC authentication from an organisation administrator's system account.
Client Management
/legacy/api/oauth/clients/legacy/api/oauth/clients
List all OAuth clients
/legacy/api/oauth/clients/{clientId}
Get client details
/legacy/api/oauth/clients
Create new OAuth client
/legacy/api/oauth/clients/{clientId}
Update client settings
/legacy/api/oauth/clients/{clientId}
Delete an OAuth client
/legacy/api/oauth/clients/{clientId}/rotate-secret
Rotate client secret
/legacy/api/oauth/clients/{clientId}/revoke-old-secret
Revoke previous secret
Scope Management
/legacy/api/oauth/scopes/legacy/api/oauth/scopes
List all custom scopes
/legacy/api/oauth/scopes
Create new scope
/legacy/api/oauth/scopes/{id}
Update scope
/legacy/api/oauth/scopes/{id}
Delete scope
Consent & Pre-Authorization Management
/legacy/api/oauth/consents
List all consents
/legacy/api/oauth/consents/organisation
Grant org-wide consent
/legacy/api/oauth/consents/user
Grant user-level consent
/legacy/api/oauth/consents/{id}
Revoke consent
/legacy/api/oauth/preauthorizations
List pre-authorizations
/legacy/api/oauth/preauthorizations
Create pre-authorization
/legacy/api/oauth/preauthorizations/{id}
Delete pre-authorization
Management UI (Admin Views)
/oauth/manage/{org}/scopes
Scope management UI
/oauth/manage/{org}/consents
Consent management UI
/oauth/manage/{org}/quickstart
OAuth quick start guide
Sovereign Signing Endpoints
Out-of-band JWT signing by external agents. Agent endpoints require Bearer <agent-api-key> authentication.
Pool Discovery & Keys
/oauth/{org}/sovereign/pools/{poolId}/.well-known/openid-configuration
Pool-specific OIDC discovery document
/oauth/{org}/sovereign/pools/{poolId}/jwks.json
Pool JWKS — serves only agent public keys (with optional x5c cert chains)
Agent API
/oauth/{org}/sovereign/agent/queue
Poll for pending signing requests in the agent's pool
/oauth/{org}/sovereign/agent/claim
Claim the next pending signing request
/oauth/{org}/sovereign/agent/sign
Submit signed JWT for a claimed request
/oauth/{org}/sovereign/agent/challenge
Issue a user-facing challenge before signing
/oauth/{org}/sovereign/agent/reject
Reject a claimed request (with reason)
User Wait
/oauth/{org}/sovereign/wait/{requestId}/stream
SSE stream — real-time status updates (signed, challenge, failed, expired)
/oauth/{org}/sovereign/wait/{requestId}/status
Polling fallback — JSON status of a signing request
/oauth/{org}/sovereign/wait/{requestId}/respond
Submit user response to an agent-issued challenge
Admin
/oauth/{org}/sovereign/admin/pools
Create a signing pool
/oauth/{org}/sovereign/admin/agents
Register an agent (returns API key — shown once)
/oauth/{org}/sovereign/admin/agents/{agentId}
Deactivate an agent
Device Identity Endpoints
Certificate-based device enrollment and authentication. See the Device Identity Guide for the full flow.
Enrollment
/oauth/{org}/devices/enroll
Standard enrollment (code + CSR → cert)
/oauth/{org}/devices/enroll/begin
TPM enrollment step 1 (EK cert + AK pub → credential blob challenge)
/oauth/{org}/devices/enroll/complete
TPM enrollment step 2 (attestation evidence + CSR → cert)
/oauth/{org}/devices/ca.pem
Org device CA certificate (public)
Admin
/devices/manage/{org}
List registered devices + register form
/devices/manage/{org}/register
Generate enrollment code (shown once)
/devices/manage/{org}/{id}/revoke
Revoke a device certificate (immediate)