Authentication & API Keys
Authentication Methods
API Keys (Recommended)
curl -X GET https://api.twig.so/api/agents \
-H "Authorization: Bearer sk_live_abc123..."OAuth 2.0 (For User Context)
Generating API Keys
Via UI
Via API
API Key Types
Organization Keys
Personal Keys
Scoped Keys
API Key Scopes
Scope
Permissions
Using API Keys
Request Header
Examples
Key Management Best Practices
Security
Storage
Rotation
Error Handling
Invalid Key
Expired Key
Insufficient Permissions
Monitoring
Track Usage
Set Alerts
Troubleshooting
Key Not Working
Intermittent Failures
Next Steps
Last updated

