The BlindCast Server uses API keys to authenticate management requests. Keys are SHA-256 hashed before storage — the raw key is only shown once at creation time.Documentation Index
Fetch the complete documentation index at: https://docs.blindcast.dev/llms.txt
Use this file to discover all available pages before exploring further.
Scopes
| Scope | Permissions |
|---|---|
admin | Manage API keys, manage content, presign uploads |
full | Manage content, presign uploads, manage API keys |
upload | Presign uploads |
playback | Read content only |
admin and full scopes can create, list, or revoke API keys.
Bootstrap API key
For automated deployments, set theADMIN_API_KEY environment variable:
admin-scope key without being stored in the database. It lets you make the first API call to create a proper stored key.
First-launch setup
If no API keys exist andADMIN_API_KEY is not set, use the setup endpoint:
/admin guides you through this process with a setup wizard.
Create an API key
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name |
scope | string | No | admin, full, upload, or playback (default: full) |
expiresAt | string | No | ISO 8601 expiry date |
List API keys
Revoke an API key
revokedAt timestamp.
Revoked keys are rejected on all subsequent requests.
Key format
API keys use the formatbk_ followed by 64 hex characters (32 random bytes):
bk_ prefix makes keys easy to identify in logs and configuration.
Next steps
- Content API — register and manage content
- Admin Dashboard — manage keys from the browser
- Docker Setup — environment variables and deployment