---
title: "Finish a multipart upload"
method: POST
path: "/uploads/multipart/complete"
---

# Finish a multipart upload

`POST /uploads/multipart/complete`

## Request

- Base URL: `https://clusters.soleilpictures.com/api/v1`
- URL: `https://clusters.soleilpictures.com/api/v1/uploads/multipart/complete`
- Auth: HTTP bearer

Assembles the parts into one object and records the row that authorizes reads and keeps it from being reclaimed. Returns the key to pass as `image_key`.

## Request body

- object
  - `board_id` string, uuid, required
  - `key` string, required
  - `upload_id` string, required
  - `filename` string: The file's own name, kept on the stored file.
  - `parts` object[], required
    - `part_number` integer, required
    - `etag` string, required

## Response `201`

The stored key

- object
  - `image_key` string
  - `bytes` integer, nullable
  - `width` integer, nullable
  - `height` integer, nullable
  - `file_name` string, nullable

## Other responses

- `403`: Not a writer on that board

---

[API](https://skmtc.dev/soleilpictures/apis/soleil-clusters-api.md) · [All operations](https://skmtc.dev/soleilpictures/apis/soleil-clusters-api/llms.txt) · [OpenAPI document](https://skmtc.dev/soleilpictures/apis/soleil-clusters-api/revisions/1d426d587bf3?raw)
