Limitations
1. API Rate Limits
Default Rate Limits
Plan | Requests per Minute | Requests per Hour |
---|---|---|
Free Tier | 30 requests/min | 1,000 requests/hr |
Standard | 100 requests/min | 5,000 requests/hr |
Enterprise | 500 requests/min | Unlimited |
{
"error": "Rate limit exceeded. Try again later.",
"statusCode": 429,
"retry_after": 60
}
2. File Size Limitations
File Size Limits by Endpoint
Endpoint | Max File Size | Allowed Formats |
---|---|---|
POST /attachments | 10 MB | PDF, JPG, PNG |
GET /attachments/{visit_id} | No limit | Returns uploaded files |
{
"error": "File size exceeds the 10MB limit.",
"statusCode": 413
}
3. How to Check Rate Limit Usage?
Rate Limit Headers in API Response
x-rate-limit-reset
to determine when you can send more requests.4. Handling API Limits and Errors
Error Type | HTTP Status Code | Solution |
---|---|---|
Rate limit exceeded | 429 Too Many Requests | Wait for reset or reduce request frequency. |
File too large | 413 Payload Too Large | Reduce file size before upload. |
Too many concurrent requests | 503 Service Unavailable | Use retry logic and exponential backoff. |
5. Managing API Limits
Need Higher Limits?
Modified atĀ 2025-03-05 06:40:09