---
title: "Fetch subtask"
method: GET
path: "/projects/{project_id}/assignments/{assignment_id}/subtasks/{subtask_id}"
tags: ["subtasks"]
---

# Fetch subtask

`GET /projects/{project_id}/assignments/{assignment_id}/subtasks/{subtask_id}`

Returns the matching subtask.

## Response `200`

Successful response

- Subtask — A work item that is part of an aassignment (the parent object).
  - `id` integer — The unique identifier for the subtask.
  - `assignment_id` integer — The ID of the assignment to which this subtask belongs.
  - `assignable_id` integer — The ID of the project, phase, or leave type to which the the assignment applies.
  - `description` string — Identifies the subtask.
  - `completed` boolean — This is true if the subtask is done; otherwise, it's false.
  - `updated_at` string, date-time — The time of the last update.
  - `created_at` string, date-time — The time of creation.
  - `updated_by` integer — The ID of the user who last updated this subtask.

## Other responses

- `default` — Generic error payload

---

[API](https://skmtc.dev/smartsheet/apis/resource-management-openapi-reference.md) · [All operations](https://skmtc.dev/smartsheet/apis/resource-management-openapi-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/smartsheet/resource-management-openapi-reference/revisions/e4c439ac13f2/schema)
