---
title: "Create Time Tracking Project Task"
method: POST
path: "/api/v1/time-tracking/projects/{projectId}/tasks"
tags: ["Time Tracking", "Public API"]
---

# Create Time Tracking Project Task

`POST /api/v1/time-tracking/projects/{projectId}/tasks`

Creates a new task on the specified time tracking project.

OAuth Scopes: time_tracking:project.write

## Path parameters

- `projectId` string, required

## Request body

- ProjectCreateTimeTrackingProjectTaskV1 — Payload to create a task on a time tracking project.
  - `name` string, required — Display name of the task.
  - `billable` boolean, nullable — Whether hours on this task are billable. Defaults to false when omitted.

## Response `201`

Task created.

- ProjectTimeTrackingTaskV1 — A task within a time tracking project. Tasks are sub-organizational units used to further classify hours worked.
  - `id` integer — The ID of the task.
  - `name` string — The name of the task.
  - `projectId` integer — The ID of the project this task belongs to.
  - `billable` boolean — Whether the task is billable.
  - `createdAt` string, date-time, nullable — ISO 8601 timestamp when the task was created.
  - `updatedAt` string, date-time, nullable — ISO 8601 timestamp when the task was last updated.
  - `deletedAt` string, date-time, nullable — ISO 8601 timestamp when the task was deleted.

## Other responses

- `403` — Forbidden.
- `404` — Project not found.
- `409` — Duplicate task name within the project.
- `422` — Validation error.

---

[API](https://skmtc.net/bamboohr/apis/bamboohr-api.md) · [All operations](https://skmtc.net/bamboohr/apis/bamboohr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bamboohr/bamboohr-api/revisions/19ebf391a399/schema)
