---
title: "Create an audio, photo, or video upload."
method: POST
path: "/v1/uploads"
---

# Create an audio, photo, or video upload.

`POST /v1/uploads`

## Request

- Base URL: `https://api.cortexplus.io`
- URL: `https://api.cortexplus.io/v1/uploads`
- Auth: HTTP bearer

Create a signed upload URL for an audio, photo, or video memory.

## Request body

- object
  - `name` string, required: Name of the audio file.
  - `contentType` string, required: MIME type of the audio file.
  - `size` integer: Exact file size in bytes. When sent, oversized files are rejected before signing and the PUT must send this exact Content-Length.
  - `expiresIn` integer: Presigned URL lifetime in seconds.

## Response `200`

Successful response.

- object
  - `key` string, required
  - `uploadUrl` string, uri, required
  - `expiresIn` integer, required

## Other responses

- `default`: Request failed.

---

[API](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api.md) · [All operations](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cortexplus/apis/cortexplus-rest-api/revisions/2d04f1593663?raw)
