---
title: "Adds a task bundle to a project."
method: POST
path: "/projects/{projectId}/addtaskbundle"
tags: ["taskBundles"]
---

# Adds a task bundle to a project.

`POST /projects/{projectId}/addtaskbundle`

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

## Path parameters

- `projectId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- AddTaskBundleForm
  - `taskBundleId` string, uuid, nullable — The id of the task bundle to add to the entity.
  - `defaultTaskListIdForEmails` string, uuid, nullable
  - `referenceDateType` 'today' | 'start' | 'end' | 'custom' — (optional, default = TODAY) Defines the starting date from which the reference date is calculated. The reference date is the date from which the Start/DueOn date of a task is calculated, based on the ReferenceDateAnchor.
  - `referenceDateAnchor` 'starts_on_reference_date' | 'ends_on_reference_date' — (optional, default = START) Defines what the reference date represents for the schedule (start of first task or end of last task).
  - `customReferenceDate` string, date, nullable — (optional) The custom reference date when ReferenceDateType is set to 'custom'.

## Response `204`

No Content

- object

## Other responses

- `400` — Bad Request
- `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)
