Get your API key
- Sign in at orgo.ai
- Go to orgo.ai/workspaces
- Click Generate API Key
- Copy your key (format:
sk_live_...)
Usage
Include theAuthorization header in every request:
Examples
Environment variables
Store your key as an environment variable:Error responses
Invalid key
Missing key
401 Unauthorized.
Security best practices
Use environment variables
Use environment variables
Never hardcode API keys in your source code.
Add to .gitignore
Add to .gitignore
Ensure
.env files are not committed to version control.Rotate if compromised
Rotate if compromised
Generate a new key immediately if your key is exposed.
Use separate keys per environment
Use separate keys per environment
Use different keys for development and production.