Skip to main content
An API key identifies an app or integration calling your project’s API. Send it on every request:

Key format

The first part (for example bludia_production_k3x9qa) is the key prefix. It’s shown in the dashboard so you can tell keys apart. Bludia stores only a SHA-256 hash of the full key.
The full key is shown once, when you create it. Copy it into your secret manager or environment variables right away. If you lose it, create a new key.

Create a key

Go to API → API Keys → Create key and fill in:
For end_users keys, what each user can do is enforced by their role permissions and row policies. A platform key has full access to the project, so keep it secret.
Use separate keys per app and environment so you can revoke one without affecting the others.

Edit, rotate, and revoke

  • Edit: you can change a key’s name, environment label, permissions, rate limit, expiry, and allowed origins. The secret never changes.
  • Rotate: create a new key, deploy it, then revoke the old one.
  • Revoke: revoked keys stop working immediately and return 403 API key revoked.
The keys list shows each key’s prefix, auth type, environment, rate limit, expiry, last used time, and last IP. Use these to spot unused or leaked keys.

Key errors

Security tips

Load them from environment variables or a secret manager. Never commit them to Git.
List exact origins such as https://app.example.com. Avoid * in production.
Keys for contractors, demos, or one-off migrations should expire.
Revoke keys that haven’t been used in a long time.
Only team members whose project role allows it can view, create, update, or revoke keys.