All APIs

List tasks in a project

Tasks View as Markdown

GET/api/project/{projectId}/task

Returns tasks of the project page by page. Use parent_id to list subtasks (a task id) or only top-level tasks (root). Ordered by tree order (sortOrder) when parent_id is given, otherwise by id. Comma-separated id filters match any of the ids.

Parameters

projectIdintegerpathRequired
ID of the project.
pageintegerquery
Page number, starting at 1.
limitintegerquery
Items per page (up to 500).
parent_id"root" | integerquery
Task id, or "root" for top-level tasks only
closedtrue | falsequery
true to return only completed tasks, false to return only open tasks. Omit to return both.
status_idsstringquery
Comma-separated ids
milestone_idsstringquery
Comma-separated ids
tag_idsstringquery
Comma-separated ids
responsible_user_idsstringquery
Comma-separated ids
ball_holder_idsstringquery
Comma-separated ids

Responses

  • 200{ tasks, page, limit, hasMore }
  • 400Invalid query parameters
  • 401Authentication is required
  • 403Not a project member
  • 404Project not found

Repsona uses cookies to provide our services. By visiting our website, you agree to the use of cookies as described in our Cookie Policy.