API Reference
The AgileTune REST API lets you programmatically manage organizations, projects, tasks, and members. All responses are JSON.
Base URL
https://api.agiletune.com/v1Authentication
AgileTune supports two authentication methods:
API Keys
Generate an API key from Organization Settings → API Keys. Include it in the Authorization header:
Authorization: Bearer at_live_abc123...API keys inherit the permissions of the user who created them. You can scope keys to specific projects and set an expiration date.
OAuth 2.0
For third-party integrations, use the OAuth 2.0 authorization code flow. Register your application in Organization Settings → OAuth Apps to obtain a client ID and secret. See the full OAuth guide in the OpenAPI docs.
Rate Limits
API requests are rate-limited per API key:
- Free plan — 60 requests per minute
- Pro plan — 300 requests per minute
- Business / Enterprise — 1,000 requests per minute
Rate limit headers are included in every response: X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Reset.
Common Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /orgs | List your organizations |
| GET | /orgs/:orgId/projects | List projects in an organization |
| POST | /orgs/:orgId/projects | Create a new project |
| GET | /projects/:projectId/tasks | List tasks in a project |
| POST | /projects/:projectId/tasks | Create a task |
| PATCH | /tasks/:taskId | Update a task |
| DELETE | /tasks/:taskId | Delete a task |
| GET | /orgs/:orgId/members | List organization members |
Error Format
Errors return a consistent JSON structure:
{
"error": {
"code": "VALIDATION_ERROR",
"message": "Title is required",
"details": [
{ "field": "title", "message": "must not be empty" }
]
}
}Full OpenAPI Documentation
For the complete API reference with request/response schemas, interactive examples, and code generation, visit the OpenAPI documentation.