Documentation Index
Fetch the complete documentation index at: https://docs.caspen.com/llms.txt
Use this file to discover all available pages before exploring further.
HTTPS Requirement
The API enforces HTTPS for all communications to ensure:- Data encryption in transit
- Authentication token protection
- Request and response integrity
- Protection against man-in-the-middle attacks
TLS Requirements
Supported TLS Versions
| Version | Support Status |
|---|---|
| TLS 1.3 | ✅ Recommended |
| TLS 1.2 | ✅ Supported |
| TLS 1.1 | ❌ Not supported |
| TLS 1.0 | ❌ Not supported |
Authentication Security
Token Storage
- Server-side storage: Store tokens securely on your backend
- Environment variables: Use environment variables, not hardcoded values
- Avoid client-side storage: Never store tokens in browsers or mobile app storage
Token Transmission
IP Allowlisting
For enhanced security, you can configure IP allowlists for your API keys:- Log in to your dashboard
- Navigate to API keys
- Configure allowed IP addresses
- Save your configuration
Vulnerability Reporting
If you discover a security vulnerability:- DO NOT disclose it publicly
- Email security@caspen.com with details
- Include steps to reproduce the issue
- We’ll respond within 24 hours
Authentication best practices
- Never expose credentials in client-side code - Keep tokens in server-side environments.
- Use environment variables - Store credentials outside of source control.
- Rotate credentials regularly - Regenerate tokens periodically and revoke unused ones.
- Use HTTPS only - Always make requests over HTTPS to protect credentials in transit.
- Implement proper error handling - Avoid logging tokens or sensitive data.