---
title: "Upload Asset"
method: POST
path: "/v1/assets"
tags: ["Assets"]
---

# Upload Asset

`POST /v1/assets`

Upload a new asset.

## Headers

- `xi-api-key` string, nullable — Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

## Response `200`

Successful Response

- AssetResponse — The public Asset object.
  - `asset_id` string, required — Unique identifier for the asset.
  - `name` string, required — Display name of the asset.
  - `mime_type` string, required — MIME type of the uploaded file (e.g. `audio/mpeg`).
  - `created_at_unix` integer, required — Unix timestamp (seconds) the asset was created.
  - `content_url` string, nullable, required — Signed URL to fetch the asset's content. May be `null` if the asset has not finished processing. Do not rely on it being valid for more than 1 hour; fetch the asset again for a fresh URL.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation.md) · [All operations](https://skmtc.net/elevenlabs/apis/elevenlabs-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elevenlabs/elevenlabs-api-documentation/revisions/1a31d01a1fb9/schema)
