>_

API Reference

The Open Privacy Suite exposes a REST API for authentication, RBAC and organization administration, compliance, selective disclosure, and the block explorer, alongside the JSON-RPC proxy endpoint itself.

Authentication model

User-facing endpoints authenticate with a Bearer JWT (Authorization: Bearer <access_token>) obtained through one of the auth flows. Admin endpoints authenticate with the X-Admin-Token header and are additionally restricted to the private network — they are not reachable through the public ingress. A deprecated legacy /api/* prefix is still served for backward compatibility; new integrations should use /api/v1.

Endpoint reference

The full endpoint reference is generated from the code on every merge, so it cannot drift from the running implementation.

Single source of truth

The generated OpenAPI document is the authoritative reference. The hand-written endpoint tables that used to live on this page have been removed; where other docs pages mention endpoints, they are illustrative — the spec is normative.

Errors

Endpoints return errors as JSON with an error field describing the failure. Status codes and per-endpoint response schemas are documented in the generated reference.