---
title: "WorkspaceProjectTasks"
method: GET
path: "/workspaces/{workspace_id}/projects/{project_id}/tasks"
tags: ["tasks"]
---

# WorkspaceProjectTasks

`GET /workspaces/{workspace_id}/projects/{project_id}/tasks`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/projects/{project_id}/tasks`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/projects/:project_id/tasks/get.ts> (a function with typed inputs; its response is checked against the schema)

Get project tasks for given workspace.

## Path parameters

- `workspace_id` integer, required
- `project_id` integer, required

## Response `200`

Successful operation.

- ModelsTask
  - `active` boolean: False when the task has been done
  - `at` string: When the task was created/last modified
  - `estimated_seconds` integer, nullable: Estimation time for this task in seconds
  - `id` integer: Task ID
  - `name` string: Task Name
  - `permissions` string
  - `project_id` integer: Project ID
  - `recurring` boolean: Whether this is a recurring task
  - `server_deleted_at` string, nullable: When the task was deleted
  - `toggl_accounts_id` string, nullable: Task assignee, if set above this will be the toggl_account_id for that user
  - `tracked_seconds` integer: The value tracked_seconds is in milliseconds, not in seconds.
  - `user_id` integer, nullable: Task assignee, if available
  - `workspace_id` integer: Workspace ID

## Other responses

- `403`: User does not have access to this resource.
- `500`: Internal Server Error

---

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