Overview
The iClosed.io V1 API is a RESTful API with organization-based rate limiting. All requests require authentication and anX-Org-Id header from the API Gateway authorizer.
Base URLs
- Production:
https://public.api.iclosed.io - Development:
https://api-dev.iclosed.io - Local:
http://localhost:4000
Authentication
All API requests require authentication using a Bearer token with the formaticlosed-<token>.
Rate Limiting
Per-account, per-action rate limits apply to all endpoints. When rate limits are exceeded, the API returns:- Status Code:
429 Too Many Requests - Response Headers:
RateLimit-Limit: Maximum requests allowed in the current windowRateLimit-Remaining: Requests remaining in the current windowRateLimit-Reset: ISO 8601 timestamp when the rate limit resetsRetry-After: Seconds until the client can retry
Error Handling
The API uses standard HTTP status codes and provides detailed error messages:Common Status Codes
200- Success201- Created400- Bad Request / Validation Error401- Unauthorized (missing or invalid API key)403- Forbidden (insufficient permissions)404- Resource Not Found429- Rate Limit Exceeded500- Internal Server Error