---
title: "Complete Video Upload"
method: PATCH
path: "/video/{requestId}/complete-upload/"
tags: ["Complete Upload"]
---

# Complete Video Upload

`PATCH /video/{requestId}/complete-upload/`

Send metadata of the multi-part uploads to complete the upload and begin processing the video.

Optionally include the MD5 hash of the source video file to validate successful upload before processing.

## Request body

| **Property**    | **Type**         | **Description**                                                                                         |
|-----------------|------------------|---------------------------------------------------------------------------------------------------------|
| **uploadResults**           | Array   | An array of part number and ETag pairs of the uploaded parts. ETags are returned by S3 upon upload of the part. |
| **uploadResults.*.partNum** | Integer | Part number of the uploaded part, starting from 1                                                      |
| **uploadResults.*.eTag**    | String  | eTag value returned by S3 upon upload of the part

## Path parameters

- `requestId` string, uuid, required

## Request body

- object
  - `md5Hash` string — MD5 hash of the source video file in hex
  - `uploadResults` object[], required — An array of part number and ETag pairs of the uploaded parts. ETags are returned by S3 upon upload of the part.
    - `partNum` integer, required — Part number of the uploaded part, starting from 1
    - `eTag` string, required — eTag value returned by S3 upon upload of the part

## Response `202`

Successful response

- object
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Enhancement request with the provided ID not found
- `500` — Internal server error

---

[API](https://skmtc.net/topazlabs/apis/image-api.md) · [All operations](https://skmtc.net/topazlabs/apis/image-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/topazlabs/image-api/revisions/7610937217a4/schema)
