Rate Limiting
To ensure system stability and fair usage, the API implements different rate limits based on endpoint types. Rate limits are applied per authenticated token and IP address.Rate Limits
Authentication Endpoints
| Endpoint | Rate Limit | Window |
|---|---|---|
| Login | 10 requests | per minute |
| Register | 10 requests | per minute |
| Forgot Password | 10 requests | per minute |
| Reset Password | 10 requests | per minute |
Authenticated Routes
| Operation Type | Rate Limit | Window |
|---|---|---|
| GET (List/Show) | 60 requests | per minute |
| POST/PUT/DELETE | 30 requests | per minute |
| Document Downloads | 20 requests | per minute |
| Auth Operations (me, logout, refresh) | 30 requests | per minute |
Rate Limit Headers
All responses include rate limit information in headers:X-RateLimit-Limit: Maximum requests allowed in the current windowX-RateLimit-Remaining: Remaining requests in current windowX-RateLimit-Reset: Unix timestamp when the limit resets
Rate Limit Response
When you exceed the rate limit, you’ll receive a 429 (Too Many Requests) response:Best Practices
1. Implement Backoff Strategy
2. Batch Operations
Instead of multiple requests:3. Monitor Rate Limits
4. Use Caching
Rate Limit Strategy
Our rate limiting strategy is designed with these principles:- Authentication Protection: Stricter limits on auth endpoints to prevent brute force
- Read vs Write: Higher limits for read operations, lower for write operations
- Resource Intensive Operations: Specific limits for operations like document downloads
- User Experience: Balanced to allow normal usage while preventing abuse
Common Issues and Solutions
Rate Limit Exceeded
- Implement exponential backoff
- Use bulk endpoints where available
- Cache frequently accessed data
- Monitor rate limit headers
Multiple Environments
- Use separate API keys per environment
- Monitor usage across environments
- Adjust client-side rate limiting per environment
Concurrent Requests
- Implement request queuing
- Batch requests where possible
- Use bulk operations endpoints
Enterprise Usage
For higher rate limits and custom solutions:- Contact our support team
- Consider dedicated API keys
- Explore custom rate limit plans

