---
title: "Files - confirm upload"
method: POST
path: "/api/v1/files/{fileId}/confirm"
tags: ["Files"]
---

# Files - confirm upload

`POST /api/v1/files/{fileId}/confirm`

Confirms that the file was successfully uploaded to the pre-signed URL.

## Path parameters

- `fileId` string, uuid, required

## Response `200`

File confirmed

- ConfirmResponse — Success envelope confirming a file upload was verified
  - `ok` true, required
  - `data` ConfirmResult, required — Returned after a file upload is verified. The file is now ready to be used in CAD operations.
    - `fileId` string, uuid, required — File identifier that was confirmed
    - `status` 'confirmed', required
    - `bytes` integer, required — Actual file size in bytes as stored on the server
    - `contentType` string, required — MIME type of the confirmed file

## Other responses

- `404` — Not found

## Changes

- **2026-04-30** `bef883f8a334` — 13 info
  - api operation id `confirmUpload` removed and replaced with ``
  - the response property `data` became required for the status `200`
  - the response property `data/bytes` became required for the status `200`
  - the response property `data/contentType` became required for the status `200`
  - …9 more
- **2026-04-17** `5eb4ed0f33c7` — 9 breaking, 3 warning, 1 info
  - the response property `data` became optional for the status `200`
  - the response property `data/bytes` became optional for the status `200`
  - the response property `data/contentType` became optional for the status `200`
  - the response property `data/fileId` became optional for the status `200`
  - …9 more

[Change history](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/changes/api/v1/files/:fileId/confirm/post.md)

---

[API](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api.md) · [All operations](https://skmtc.dev/bitbybit-dev/apis/bitbybit-cad-cloud-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bitbybit-dev/bitbybit-cad-cloud-api/revisions/1135d4473bc2/schema)
