---
title: "Get project tasks"
method: GET
path: "/projects/{project_id}/tasks"
tags: ["task"]
---

# Get project tasks

`GET /projects/{project_id}/tasks`

## Request

- Base URL: `https://api.ora.pm`
- URL: `https://api.ora.pm/projects/{project_id}/tasks`
- Auth: OAuth 2
  - Authorization code: `https://app.ora.pm/authorize`
  - Token URL: `https://api.ora.pm/oauth/token` scopes: `read`, `write`

## Query parameters

- `offset` string
- `limit` string

## Response `200`

Success

- Task
  - `milestone_id` integer: Id of the milestone in the task(milestone can be attached to the task).
  - `task_type` integer: Id of the task type(show what type is the task - bug, feature, etc.).
  - `creator` integer: Id of the user that created the task.
  - `second_id` integer: Id that is equal to tasks counter in Project model. It is shown when you click the task under the task title(#10, #11, etc.).
  - `title` string: Title of the task.
  - `description` string: Description about the task.
  - `last_picture` string: Last picture that is uploaded to the task through Ora.
  - `last_picture_external_url` string: Last picture that is uploaded to the task through external service(Trelo, etc.).
  - `created_at` string, date-time: Date and time when the project was created.
  - `updated_at` string, date-time: Date and time when the project was last updated.
  - `deadline` string, date-time: Deadline of the task.
  - `archived` boolean: True if the task is archived, if false it is not.
  - `color` string: Color of the task.
  - `estimated` string: Estimated time for completing the task.
  - `time_tracked` string: Time that is tracked while working on the task.
  - `public` boolean: True if the task has to be public, false if it should not. By default it is true(public).
  - `state` integer: The state of the task. 1 - Frosen, 2 - Open, 3 - Review, 4 - Closed.
  - `cover_width` integer: Width of the task.
  - `cover_height` integer: Height of the task.
  - `checklist` string: Counter for how many points of the checklist in the task are completed. Completed points are on the left and total points are on the right(2/5, 1/5, 5/5, etc.).
  - `comments` integer: Counter for comments on a task.
  - `public_comments` integer: Counter for public comments on a task.
  - `likes` integer: Counter for likes on a task.
  - `attachments` integer: Counter for attachments on a task.
  - `commits` integer: Counter for commits on a task.
  - `support_tickets` integer: Counter for support tickets on a task.
  - `value` integer: Business value of the task. What importance for the business it has.
  - `points` integer: Difficulty of the task. How many points in the task there are to be done.
  - `points_done` integer: Counter for how many points are done.
  - `sprint_id` integer: Id of the sprint in which is the task.
  - `position` integer: Position of the task in the sprint.

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

[API](https://skmtc.dev/ora/apis/ora-api.md) - [All operations](https://skmtc.dev/ora/apis/ora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ora/apis/ora-api/revisions/983b9e0b0dda?raw)
