---
title: "Returns all task dependencies for a specific task."
method: GET
path: "/tasks/{taskId}/taskdependencies"
tags: ["taskDependencies"]
---

# Returns all task dependencies for a specific task.

`GET /tasks/{taskId}/taskdependencies`

<Check title="Required Permissions" icon="key">To get all dependencies of a task, the user needs project planning permissions on that project or be assigned to that task.</Check>

## Path parameters

- `taskId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- TaskDependency[]
  - `predecessorId` string, uuid — The Id of the predecessor. A task can have multiple predecessors through multiple dependency relationships.
  - `successorId` string, uuid — The Id of the successor. A task can have multiple successors through multiple dependency relationships.
  - `id` string, uuid — The id of the task dependency.
  - `createdOn` string, date-time — The date this task dependency was created.
  - `createdBy` string, uuid — The id of the user who created this task dependency.
  - `updatedOn` string, date-time — The date this task dependenc was last modified.
  - `updatedBy` string, uuid — The id of the user who last modified this task dependency.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
