Authorization header.
Getting an API Key
- Log in to your AppKittie dashboard
- Navigate to Settings → API Keys
- Click Create API Key and provide a descriptive name
- Copy the key immediately — it is only shown once
Using Your API Key
Include the key in theAuthorization header with the Bearer prefix:
Authentication Errors
| Status | Error | Description |
|---|---|---|
401 | Invalid or missing API key | The Authorization header is missing, malformed, or contains a revoked/invalid key |
Key Management
You can manage your API keys from the dashboard:- Create — Generate new keys with descriptive names
- Revoke — Disable a key immediately (requests using it will return
401) - Delete — Permanently remove a revoked key
Security Best Practices
Use environment variables
Use environment variables
Store your API key in environment variables, not in source code:
Never expose keys in client-side code
Never expose keys in client-side code
API keys should only be used server-side. Never include them in browser JavaScript, mobile apps, or any code that ships to end users.
Rotate keys regularly
Rotate keys regularly
Create a new key, update your applications, then revoke the old key. This limits the blast radius if a key is compromised.
