---
title: "Upload bytes to a minted upload URL"
method: PUT
path: "/v1/media/upload/{uploadId}"
tags: ["media"]
---

# Upload bytes to a minted upload URL

`PUT /v1/media/upload/{uploadId}`

## Request

- Base URL: `https://api.brixsignage.com`
- URL: `https://api.brixsignage.com/v1/media/upload/{uploadId}`
- Auth: HTTP bearer

Upload the raw file bytes for a previously created upload slot. Send the file as the request body and set the Content-Type header to match the file's type. After uploading, finalize the upload to create the media asset record.

**Notes.**
- This stores the bytes for a bulk import; the import itself creates the media rows.

## Path parameters

- `uploadId` string, required

## Response `200`

Success.

- object
  - `data` object, required
    - `uploadId` string, required
    - `bytes` integer, required

## Other responses

- `401`: Missing, expired or revoked bearer token.
- `403`: The token lacks the permission this operation needs (see `x-brix-permission`).
- `404`: No mint with this id in this workspace.
- `413`: Over 500 MB.
- `415`: SVG.
- `422`: Empty body or a malformed id.
- `5XX`: Server error. The body carries a `requestId` to quote to support.

---

[API](https://skmtc.dev/brixsignage/apis/brix-api.md) · [All operations](https://skmtc.dev/brixsignage/apis/brix-api/llms.txt) · [OpenAPI document](https://skmtc.dev/brixsignage/apis/brix-api/revisions/02fd3665dc7d?raw)
