API reference · v1
REST API
Base URL /api/v1. JSON in, JSON out. Machine-readable spec at /api/v1/openapi.json.
/secretsanonymous OKCreate a secret
Stores a client-side encrypted envelope. Anonymous calls (no Authorization) are allowed with anonymous limits. Supply `Idempotency-Key` to make retries safe (authenticated only).
- Idempotency-Key (header)
/secretsList your secrets (metadata only)
- state (query)
- q (query)
- Search your private labels.
- sort (query)
- page (query)
- pageSize (query)
- environment (query)
/secrets/{id}Get secret metadata (receipt)
Authorized by the receipt token (`X-Receipt-Token`), the owner's API key with `secrets:read`, or the owner's session.
- id (path, required)
- Secret identifier (128-bit, base64url).
/secrets/{id}/statusanonymous OKPre-redemption status (public)
Does not consume the secret. Returns KDF parameters the recipient needs to derive the proof.
- id (path, required)
- Secret identifier (128-bit, base64url).
/secrets/{id}/redeemanonymous OKRedeem (open) a secret
Verifies `proof` (HKDF-derived from the link key and passphrase) and, if valid, consumes one view atomically and returns the envelope. A wrong proof never consumes; after `maxFailedAttempts` the secret is destroyed.
- id (path, required)
- Secret identifier (128-bit, base64url).
/secrets/{id}/burnDestroy a secret before it is read
- id (path, required)
- Secret identifier (128-bit, base64url).
/account/usagePlan, limits and usage for the current period
/account/api-keysList API keys (session only)
/account/api-keysCreate an API key (session only). The token is returned once.
/account/api-keys/{keyId}Revoke an API key
- keyId (path, required)
/webhooksList endpoints and recent deliveries
/webhooksCreate an endpoint. The signing secret is returned once.
/webhooks/{id}Delete an endpoint
- id (path, required)
Schemas, examples and the envelope format are described in the developer guide.