---
title: "Save the file that was uploaded via the upload url returned by the GetUploadUrl endpoint."
method: POST
path: "/api/v1/Files/SaveUpload"
tags: ["Files"]
---

# Save the file that was uploaded via the upload url returned by the GetUploadUrl endpoint.

`POST /api/v1/Files/SaveUpload`

## Request

- Base URL: `https://api.slopesoftware.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.slopesoftware.com/api/v1/Files/SaveUpload`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/slopesoftware/apis/akur8-life-api/docs/api/v1/Files/SaveUpload/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- SaveUploadFilePathDtoV1
  - `filePath` string, nullable: File Path
  - `contentMD5` string, nullable: Optional MD5 Hash for File Content
  - `metadata` object, nullable: Metadata to include with the file when saved

## Response `200`

OK

- SaveUploadResponseV1
  - `fileId` integer: File ID of the saved file at the provided path

## Other responses

- `201`: Created
- `400`: Bad Request
- `401`: Unauthorized
- `403`: Not Allowed To Access
- `404`: Not Found
- `429`: Too Many Requests

---

[API](https://skmtc.dev/slopesoftware/apis/akur8-life-api.md) - [All operations](https://skmtc.dev/slopesoftware/apis/akur8-life-api/llms.txt) - [OpenAPI document](https://skmtc.dev/slopesoftware/apis/akur8-life-api/revisions/9771b2c79880?raw)
