> For the complete documentation index, see [llms.txt](https://docs.fast-file.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fast-file.com/file-upload.md).

# File Upload

Endpoints for uploading files

## Upload a file

> Upload a file to the server

```json
{"openapi":"3.0.3","info":{"title":"Fast File API","version":"1.3.0"},"tags":[{"name":"Upload","description":"Endpoints for uploading files"}],"servers":[{"url":"https://fast-file.com"}],"paths":{"/upload":{"post":{"tags":["Upload"],"summary":"Upload a file","description":"Upload a file to the server","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"files":{"type":"string","format":"binary","description":"The file to upload"}}}}}},"responses":{"200":{"description":"Upload successful","content":{"application/json":{"schema":{"type":"object","properties":{"isSuccess":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"oldname":{"type":"string","description":"Original file name"},"title":{"type":"string","description":"File ID"},"extension":{"type":"string","description":"File extension"},"size2":{"type":"string","description":"File size in a human readable format"},"downloadlink":{"type":"string","format":"uri"}}}}}}}}},"500":{"description":"Upload failed","content":{"application/json":{"schema":{"type":"object","properties":{"isSuccess":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```
