---
title: "Returns the task dependency templates for a given task template."
method: GET
path: "/tasktemplates/{taskTemplateId}/taskdependencytemplates"
tags: ["taskDependencyTemplates"]
---

# Returns the task dependency templates for a given task template.

`GET /tasktemplates/{taskTemplateId}/taskdependencytemplates`

<Check title="Required Permissions" icon="key">The user must be an admin or have `task-manage-config:read` permissions.</Check>

## Path parameters

- `taskTemplateId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- TaskDependencyTemplate[]
  - `id` string, uuid — The id of the entity.
  - `createdOn` string, date-time — The date this entity was created.
  - `createdBy` string, uuid — The id of the user who created this entity.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `updatedBy` string, uuid — The id of the user who last modified this entity.
  - `predecessorTemplateId` string, uuid — The id of the predecessor task template.
  - `successorTemplateId` string, uuid — The id of the successor task template.

## Other responses

- `401` — Unauthorized
- `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)
