Authorization: Bearer header.
API keys (recommended)
API keys are 48-character hex strings. Create one from the dashboard or via the API.Create a key
Sign in to the Dashboard, go to API Keys, and click Create Key. Or use the API:Creating and managing API keys requires a Supabase JWT — you cannot use an API key to create another API key.
Revoke a key
Supabase JWT
If you’re building a browser-based integration, use the Supabase JS client to get a session token:Which endpoints require auth?
| Endpoint | Auth required |
|---|---|
GET /api/health | No |
GET /api/templates | No |
GET /api/records/:id | No |
POST /api/records/:id/scan | No |
POST /api/embed | No |
POST /api/records | Yes |
GET /api/records | Yes |
PATCH /api/records/:id | Yes |
POST /api/records/:id/mint | Yes |
POST /api/records/:id/claim | Yes |
POST /api/keys | Yes (JWT only) |
GET /api/keys | Yes (JWT only) |

