---
title: "Post Upload File"
method: POST
path: "/UploadFiles"
tags: ["Uploadfiles"]
---

# Post Upload File

`POST /UploadFiles`

**Auth:** Authenticated - any signed-in user.

Post Upload File.

## Request body

- PostUploadFileRequest
  - `tags` string, nullable
  - `file` CoreBaseFileDto
    - `documentName` string, nullable
    - `contentType` string, nullable
    - `content` string, byte, nullable
    - `tagsString` string, nullable
  - `uploadFile` CoreUploadFile
    - `id` integer, nullable
    - `documentName` string, nullable
    - `contentType` string, nullable
    - `content` string, nullable
    - `tagsString` string, nullable
    - `uploadedDate` string, date-time
    - `uploadedBy` string

## Response `200`

Success

- PostUploadFileResponse
  - `fileId` integer

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/28344aa564b4/schema)
