Skip to main content

Authentication

The Caged API uses API keys for authentication. All authenticated requests must include a Bearer token in the Authorization header.

Getting an API Key

  1. Sign up at caged.dev/signup
  2. Go to Dashboard → Settings → API Keys
  3. Click Create API Key
  4. Copy the key — it’s only shown once
API keys start with caged_sk_ and look like:

Using Your API Key

Include it as a Bearer token:

Signup

string
required
Account email address.
string
required
Account password (min 8 characters).
string
Display name.

Login

Returns a session token for dashboard access.

Key Scopes

Security Best Practices

Never commit API keys to source control. Use environment variables or a secrets manager.
  • Rotate keys regularly
  • Use the narrowest scope possible
  • Set key expiration dates
  • Monitor key usage in the dashboard