Tasks
Task management operations
Returns all tasks accessible to the authenticated user within their organization
Session-based authentication via HTTP-only cookie
List of tasks
Unique task identifier
1Task title
Complete quarterly reportTask description
Compile data from all departmentsAssociated project ID
5Associated organization ID
Associated milestone ID
Associated phase ID
Display order within the list
0User ID of assignee
3Task status
in_progressPossible values: Task priority
highPossible values: Task due date
2026-02-15T00:00:00.000ZCreation timestamp
Last update timestamp
Not authenticated
Access denied
Server error
GET /api/tasks HTTP/1.1
Accept: */*
[
{
"id": 1,
"title": "Complete quarterly report",
"description": "Compile data from all departments",
"projectId": 5,
"organizationId": 1,
"milestoneId": 1,
"phaseId": 1,
"order": 0,
"assigneeId": 3,
"status": "in_progress",
"priority": "high",
"dueDate": "2026-02-15T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"assignee": {
"id": 1,
"username": "text",
"fullName": "text"
},
"project": {
"id": 1,
"title": "text"
},
"milestone": {
"id": 1,
"title": "text"
}
}
]Creates a new task within a project or organization
Session-based authentication via HTTP-only cookie
Task title
Review contractTask description
Project to associate with
Organization to associate with
Milestone to associate with
Phase to associate with
User to assign the task to
todoPossible values: mediumPossible values: Due date (ISO 8601 format)
Task created successfully
Unique task identifier
1Task title
Complete quarterly reportTask description
Compile data from all departmentsAssociated project ID
5Associated organization ID
Associated milestone ID
Associated phase ID
Display order within the list
0User ID of assignee
3Task status
in_progressPossible values: Task priority
highPossible values: Task due date
2026-02-15T00:00:00.000ZCreation timestamp
Last update timestamp
Validation error
Not authenticated
Permission denied
Server error
POST /api/tasks HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 197
{
"title": "Review contract",
"description": "text",
"projectId": 1,
"organizationId": 1,
"milestoneId": 1,
"phaseId": 1,
"assigneeId": 1,
"status": "todo",
"priority": "medium",
"dueDate": "2026-01-01T00:00:00.000Z"
}{
"id": 1,
"title": "Complete quarterly report",
"description": "Compile data from all departments",
"projectId": 5,
"organizationId": 1,
"milestoneId": 1,
"phaseId": 1,
"order": 0,
"assigneeId": 3,
"status": "in_progress",
"priority": "high",
"dueDate": "2026-02-15T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Deletes a task
Session-based authentication via HTTP-only cookie
Task ID
Task deleted successfully
No content
Not authenticated
Permission denied
Task not found
Server error
DELETE /api/tasks/{id} HTTP/1.1
Accept: */*
No content
Updates an existing task
Session-based authentication via HTTP-only cookie
Task ID
Task updated successfully
Unique task identifier
1Task title
Complete quarterly reportTask description
Compile data from all departmentsAssociated project ID
5Associated organization ID
Associated milestone ID
Associated phase ID
Display order within the list
0User ID of assignee
3Task status
in_progressPossible values: Task priority
highPossible values: Task due date
2026-02-15T00:00:00.000ZCreation timestamp
Last update timestamp
Validation error
Not authenticated
Permission denied
Task not found
Server error
PATCH /api/tasks/{id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 160
{
"title": "text",
"description": "text",
"milestoneId": 1,
"phaseId": 1,
"assigneeId": 1,
"status": "todo",
"priority": "low",
"dueDate": "2026-01-01T00:00:00.000Z",
"order": 1
}{
"id": 1,
"title": "Complete quarterly report",
"description": "Compile data from all departments",
"projectId": 5,
"organizationId": 1,
"milestoneId": 1,
"phaseId": 1,
"order": 0,
"assigneeId": 3,
"status": "in_progress",
"priority": "high",
"dueDate": "2026-02-15T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z"
}Updates the order of multiple tasks
Session-based authentication via HTTP-only cookie
Tasks reordered successfully
No content
Not authenticated
Permission denied
Server error
PATCH /api/tasks/reorder HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 30
{
"tasks": [
{
"id": 1,
"order": 1
}
]
}No content
Returns all tasks associated with a specific project
Session-based authentication via HTTP-only cookie
Project ID
List of project tasks
Unique task identifier
1Task title
Complete quarterly reportTask description
Compile data from all departmentsAssociated project ID
5Associated organization ID
Associated milestone ID
Associated phase ID
Display order within the list
0User ID of assignee
3Task status
in_progressPossible values: Task priority
highPossible values: Task due date
2026-02-15T00:00:00.000ZCreation timestamp
Last update timestamp
Not authenticated
Access denied
Project not found
Server error
GET /api/projects/{projectId}/tasks HTTP/1.1
Accept: */*
[
{
"id": 1,
"title": "Complete quarterly report",
"description": "Compile data from all departments",
"projectId": 5,
"organizationId": 1,
"milestoneId": 1,
"phaseId": 1,
"order": 0,
"assigneeId": 3,
"status": "in_progress",
"priority": "high",
"dueDate": "2026-02-15T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"updatedAt": "2026-01-01T00:00:00.000Z",
"assignee": {
"id": 1,
"username": "text",
"fullName": "text"
},
"project": {
"id": 1,
"title": "text"
},
"milestone": {
"id": 1,
"title": "text"
}
}
]Moves a task to a different phase
Session-based authentication via HTTP-only cookie
Task ID
New phase ID (null to remove from phase)
Task phase updated successfully
No content
Not authenticated
Permission denied
Task not found
Server error
PATCH /api/tasks/{taskId}/phase HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 13
{
"phaseId": 1
}No content
Last updated
Was this helpful?