---
title: "Adds the tasks to the task list with the specified id."
method: POST
path: "/projects/{projectId}/tasklists/{taskListId}/addtasks"
tags: ["taskLists"]
---

# Adds the tasks to the task list with the specified id.

`POST /projects/{projectId}/tasklists/{taskListId}/addtasks`

<Check title="Required Permissions" icon="key">Any authenticated user.</Check>

## Path parameters

- `projectId` string, uuid, required
- `taskListId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- TaskToTaskList[]
  - `taskId` string, uuid, required — The task id added to the list.
  - `order` number, double, nullable — The order of the task in the list.

## Response `200`

OK

- ReorderingResult[]
  - `id` string, uuid, required — The id of the list to move the task to or to change the order for.
  - `order` number, double, nullable — The order of the task in the list. If null, the task is moved to the end of the list.

## Other responses

- `400` — Bad Request

---

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