GET tasks
Returns tasks that meet the following criteria (within the team that the API client belongs to)
- All tasks, archived, subtasks and completed
- Not deleted
- Sorted by created at DESC
- end_at is optional - to limit results
GET thgflow.com/api/rest/v1/teams/tasks?start_at=9829380198&end_at=83209808080980
Response
{
"tasks": Task[], // see below
"number_of_results": 29031923,
"last_created_at_returned": "string" // for pagination
}
export interface Task {
parent_task_id?: string;
id: string;
code: string;
team_id: string;
assigned_users: AssignedUser[];
assigned_user_groups: AssignedGroup[];
status?: Status;
name: string;
is_archived: boolean;
is_completed: boolean;
template: Template;
linked_tasks: LinkedTask[];
subtask_ids: string[];
created_by: User;
metadata: {};
start_at?: number;
end_at?: number;
created_at: number;
updated_at: number;
tags?: string[];
project?: TaskProject;
}