---
title: "Finalize Folder Delivery"
method: POST
path: "/api/v1/files/upload/{token}/delivery/finalize"
tags: ["files"]
---

# Finalize Folder Delivery

`POST /api/v1/files/upload/{token}/delivery/finalize`

Reconcile against S3 and, if complete, commit the delivery.

A 409 listing the missing files is the normal resume path, not an error
state: the browser re-uploads exactly those and calls this again.

## Path parameters

- `token` string, required

## Query parameters

- `delivery_id` string, uuid, nullable

## Response `202`

Successful Response

- DeliveryFinalizeResponse
  - `session_id` string, required
  - `file_count` integer, required
  - `total_files` integer
  - `status` string

## Other responses

- `422` — Validation Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-09-22** `156e22711796` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/netter/apis/dmi-backend/changes/api/v1/files/upload/:token/delivery/finalize/post.md)

---

[API](https://skmtc.dev/netter/apis/dmi-backend.md) · [All operations](https://skmtc.dev/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc.dev/netter/apis/dmi-backend/revisions/77d4fd215b57?raw)
