---
title: "Changes to Upload a file"
method: POST
path: "/api/files/actions/upload"
---

# Changes to Upload a file

`POST /api/files/actions/upload`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 5 of 28 revisions.

- **2026-07-17** `1583b1f4c97d` — 1 info
- **2025-09-24** `ad76e6bdf403` — 2 info
- **2025-09-22** `861532a21ad9` — 5 breaking, 2 warning, 7 info
- **2025-09-22** `93deff514935` — 1 info
- **2025-09-01** `a2488be8a6e4` — 1 breaking

## Changes

- **2026-07-17** `1583b1f4c97d` — 1 info
  - added the success response with the status `200`
- **2025-09-24** `ad76e6bdf403` — 2 info
  - the endpoint scheme security `bearerAuth AND cookieAuth` was added to the API
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2025-09-22** `861532a21ad9` — 5 breaking, 2 warning, 7 info
  - removed the required property `file/file_hash` from the response with the `201` status
  - removed the required property `file/file_size` from the response with the `201` status
  - removed the required property `file/mime_type` from the response with the `201` status
  - removed the required property `file/original_filename` from the response with the `201` status
  - removed the required property `file/user_id` from the response with the `201` status
  - removed the optional property `file/created_at` from the response with the `201` status
  - removed the optional property `file/updated_at` from the response with the `201` status
  - added the optional property `file/createdAt` to the response with the `201` status
  - added the optional property `file/updatedAt` to the response with the `201` status
  - added the required property `file/fileHash` to the response with the `201` status
  - added the required property `file/fileSize` to the response with the `201` status
  - added the required property `file/mimeType` to the response with the `201` status
  - added the required property `file/originalFilename` to the response with the `201` status
  - added the required property `file/userId` to the response with the `201` status
- **2025-09-22** `93deff514935` — 1 info
  - endpoint added
- **2025-09-01** `a2488be8a6e4` — 1 breaking
  - api path removed without deprecation

---

[Operation](https://skmtc.dev/patroninc/apis/patron-api/docs/api/files/actions/upload/post.md) · [API](https://skmtc.dev/patroninc/apis/patron-api.md) · [Page](https://skmtc.dev/patroninc/apis/patron-api/changes/api/files/actions/upload/post)
