---
search:
  tags:
    - tasks
    - POST
seo:
  description: >-
    Adds an existing task as a subtask to the specified parent task.… Reference
    for the POST /tasks/{identifier}/subtasks endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Add a subtask to a task
title: Add a subtask to a task
type: openapi-operation
---
Adds an existing task as a subtask to the specified parent task. Subtasks allow you to break down complex tasks into smaller, more manageable units with clear assignments and better tracking. Each subtask works like its own ticket with its own description, assignee, priority, and status. The parent task identifier can be either a UUID or a numeric shortNumber. The subtask must exist and be accessible to the user. Requires Tasks.editAnyTitleAndDescription permission.

<Operation source="api-reference" id="taskscontroller-addsubtask" />
