---
title: "Changes to Uploads a file for the specified task."
method: POST
path: "/tasks/{taskId}/files"
---

# Changes to Uploads a file for the specified task.

`POST /tasks/{taskId}/files`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 15 revisions.

- **2026-09-20** `5332322ffca3`: 2 breaking, 1 warning, 8 info
- **2026-09-17** `1556e0487867`: 1 warning, 1 info
- **2026-09-12** `8e46cf415581`: 1 info
- **2026-08-21** `a13e7c704262`: 1 info

## Changes

- **2026-09-20** `5332322ffca3`: 2 breaking, 1 warning, 8 info
  - added the new required request property `file`
  - the response's body type changed from no type to `object` for status `400`
  - removed the request property `File`
  - api operation id `taskFiles_CreateTaskFile` removed and replaced with `taskFiles_PostFilesByTaskNameAndTaskId`
  - added the non-success response with the status `401`
  - added the optional property `details` to the response with the `400` status
  - added the optional property `traceId` to the response with the `400` status
  - added the optional property `validationErrors` to the response with the `400` status
  - added the required property `code` to the response with the `400` status
  - added the required property `description` to the response with the `400` status
  - added the required property `link` to the response with the `400` status
- **2026-09-17** `1556e0487867`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `oauth2` was added to the API
- **2026-09-12** `8e46cf415581`: 1 info
  - api operation id `CreateTaskFile` removed and replaced with `taskFiles_CreateTaskFile`
- **2026-08-21** `a13e7c704262`: 1 info
  - response property `entityId` deprecated

---

[Operation](https://skmtc.dev/awork-io/apis/api-v1-reference/docs/tasks/:taskId/files/post.md) · [API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [Page](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/tasks/:taskId/files/post)
