---
title: "Get a task document"
method: GET
path: "/tasks/{taskId}/documents/{id}"
tags: ["Tasks"]
---

# Get a task document

`GET /tasks/{taskId}/documents/{id}`

Retrieves the specified task document for the specified task.

## Path parameters

- `taskId` string, uuid, required
- `id` string, uuid, required

## Response `200`

When request is successful. Returns a 'Link' object.

- TaskDocument — Task document resource.
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `task` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `type` 0 | 1 | 2 — Available document types: "File = 0", "FormTemplate = 1", "Memo = 2" The FormTemplate (1) document type is not currently supported for task document creation.
  - `isDeleted` boolean — True when the task document has been deleted.
  - `document` unknown

## Other responses

- `403` — When task with specified id is not associated with authenticated client.
- `404` — When task with specified task id and/or document id does not exist.

---

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