Developer Docs
Task-First API Quickstart
Start with base URL + auth, then split into API-key catalog reads and session-backed dashboard/admin workflows.
Auth
Get authenticated and make API calls
- Choose a base URL: production
https://database.torekavault.com/api or local http://localhost:3000.
- Create your workspace on
/signup.html.
- Confirm your email with Cognito, then sign in on
/login.html.
- Open
/dashboard.html and generate an API key in API Keys.
- Send your key in
X-API-Key for catalog routes like GET /cards, GET /sets, and GET /inventory/prints/{cardPrintId}.
- Validate request volume and route health in dashboard usage analytics.
Admin
Run admin card edits in the dashboard
- Sign in to your workspace and open
/dashboard.html.
- Use the same session to access
/auth/session, /admin/*, /api-keys, /account, and /analytics/request-usage.
- In Admin card editor, load an existing card by UUID or use an example button.
- Edit card fields, image URL, and JSON attributes.
- Save a small, reversible patch and verify success in the editor panel.
- Non-admin authenticated users receive
403 on admin mutation routes.
- Confirm changes with read endpoints in the API reference below.