---
title: "Create Task Attachment"
method: POST
path: "/v2/task/{task_id}/attachment"
tags: ["Attachments"]
---

# Create Task Attachment

`POST /v2/task/{task_id}/attachment`

Upload a file to a task as an attachment. Files stored in the cloud cannot be used in this API request.\
 \
***Note:** This request uses multipart/form-data as the content type.*
 \
 ***Tip:** Try our new [V3 Attachments API](https://developer.clickup.com/reference/postentityattachment), which supports both tasks and File type Custom Fields!*

## Path parameters

- `task_id` string, required

## Query parameters

- `custom_task_ids` boolean
- `team_id` number

## Response `200`

- object
  - `id` string, required
  - `version` string, required
  - `date` integer, required
  - `title` string, required
  - `extension` string, required
  - `thumbnail_small` string, required
  - `thumbnail_large` string, required
  - `url` string, required

---

[API](https://skmtc.net/clickup/apis/clickup-api-v2-reference.md) · [All operations](https://skmtc.net/clickup/apis/clickup-api-v2-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/clickup/clickup-api-v2-reference/revisions/72216f55b952/schema)
