---
title: "Finalise an uploaded file"
method: POST
path: "/api/v4/upload/{uploadId}/"
tags: ["Step 4 EITHER Finalise uploaded file"]
---

# Finalise an uploaded file

`POST /api/v4/upload/{uploadId}/`

## Request

- Base URL: `https://your-bynder-domain`
- URL: `https://your-bynder-domain/api/v4/upload/{uploadId}/`
- Auth: none required

The endpoints described in Step 4 are an Either/Or choice. You should use either the `Finalise an uploaded file` endpoint to finalize and process a standard upload, or the `Finalize additional file` endpoint to finalize and save an additional uploaded file as a new asset.

## Path parameters

- `uploadId` string, required

## Headers

- `Content-Type` 'application/x-www-form-urlencoded', required

## Request body `application/x-www-form-urlencoded`

- object
  - `chunks` number, required: Total number of chunks uploaded.
  - `original_filename` string: Filename including special characters to be displayed in Bynder.
  - `s3_filename` string, required: Base location of the uploaded file.
  - `targetid` string, required: Target id as returned by the initialise call.

## Response `202`

Accepted

- ApiV4UploadResponse1
  - `batchId` string
  - `file` File
    - `bucket` string
    - `path` string
    - `type` string
  - `filename` string
  - `importId` string
  - `locationType` string
  - `output` string
  - `success` integer

## Other responses

- `500`: Internal Server Error

---

[API](https://skmtc.dev/bynder/apis/upload-assets.md) - [All operations](https://skmtc.dev/bynder/apis/upload-assets/llms.txt) - [OpenAPI document](https://skmtc.dev/bynder/apis/upload-assets/revisions/05062b65fc98?raw)
