Documentation / v1 / Reference

Core API reference

The integration surface by authentication mode. Paths are shown relative to your configured issuer.

Discovery and user authorization

GET /.well-known/openid-configuration · trusted issuer metadata and JWKS location.

GET /.well-known/jwks.json · public verification keys.

GET /.well-known/oauth-protected-resource · protected-resource discovery.

GET /oauth/authorize · hosted authorization with exact redirect, state, PKCE and resource.

POST /oauth/token · form-encoded registered grant and client method.

POST /oauth/register · policy-controlled DCR; registration is not authorization.

POST /oauth/revoke · registered client identification/authentication, own-token revocation.

POST /oauth/introspect · confidential, audience-bound live token state.

Hosted passkey APIs

POST /hosted/webauthn/login/start · existing-user challenge with client_id.

POST /hosted/webauthn/login/finish · client_id, ceremony_id and credential, bound to the nonce cookie on the issuer origin. Establishes the hosted session and returns continue_to: /hosted/security; application access still requires its OAuth callback.

OTP APIs

POST /auth/otp/send and POST /auth/otp/verify preserve recipient, app, channel and client binding. Public-client login includes client_id. Server OTP authenticates with an application API key.

Server OTP explicitly selects mode: verification_only returns verified identity without tokens. Session mode requires an explicitly bound public client and environment_id. Use the same mode and binding on send and verify; never infer token behavior from a client's inventory.

Customer management APIs

GET/POST /v1/console/accounts · workspace membership and creation; creation requires name and slug.

GET/POST /v1/console/accounts/{account_id}/applications · owned applications; creation requires name and slug.

GET/POST /v1/console/accounts/{account_id}/resources · list or propose resource URI/scope registrations; customer proposals remain pending until operator review.

GET/POST /v1/keys · application-key inventory and scoped child creation with keys:manage.

GET /v1/catalog · authenticated, market-aware prepaid catalog.

POST /v1/console/accounts/{account_id}/checkout · role-gated hosted checkout with Idempotency-Key.

POST /v1/console/accounts/{account_id}/purchases/{purchase_id}/reconcile · provider-authoritative purchase reconciliation.

Console routes enforce workspace roles and ownership. Cookie-authenticated portal requests remain distinct from application API keys and machine client credentials. Before enabling AUTH_SERVICE_MANAGEMENT_AUDIENCE, migrate approved clients and the portal to its registered resource, including allowed_resources and the same resource on authorization, exchange and refresh. Portal OTP must obtain that audience too. Reusing a CRM resource token will be refused after cutover.

Reference coverage

This guide is a short map. The Generated API & SDK reference includes the mounted REST routes, directional compiler-backed DTO schemas, actual GraphQL resolver SDL, runtime MCP catalog and public SDK exports. Enterprise federation and additional framework adapters remain separate product increments. Do not infer support from an endpoint name or a hidden UI control.