Still in heavy development. Not all features are available.
The Iterator API provides programmatic access to all platform features. This RESTful API uses JSON for data exchange and follows standard HTTP conventions.
All API requests should be made to:
https://api.iterator.com/v1
The Iterator API uses API keys for authentication. Include your API key in the Authorization header:
bash
curl -H "Authorization: Bearer YOUR_API_KEY" \
https://api.iterator.com/v1/projects
application/json
bash
curl -X POST https://api.iterator.com/v1/projects \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "My Project",
"description": "A sample project"
}'
All responses return JSON with the following structure:
json
{
"success": true,
"data": {
"id": "proj_123",
"name": "My Project",
"created_at": "2024-01-15T10:30:00Z"
}
}
json
{
"success": false,
"error": {
"code": "INVALID_REQUEST",
"message": "The request is missing required fields"
}
}
The API uses standard HTTP status codes:
API requests are limited to prevent abuse:
Rate limit information is included in response headers:
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Reset: 1640995200
List endpoints support pagination using query parameters:
bash
GET /api/v1/projects?page=2&per_page=50
Pagination info is included in the response:
json
{
"data": [...],
"pagination": {
"page": 2,
"per_page": 50,
"total": 150,
"pages": 3
}
}
When an error occurs, the API returns an appropriate HTTP status code and error details in the response body. Always check the success
field in the response.