---
title: "Create Library Track"
method: POST
path: "/audio-library"
tags: ["audio-library"]
---

# Create Library Track

`POST /audio-library`

## Request

- Base URL: `https://api.framesail.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.framesail.com/audio-library`
- Auth: HTTP bearer

Admin: upload a new global library track (user_id stays NULL).

## Response `200`

Successful Response

- AudioLibraryTrack
  - `id` string, required
  - `category` string, required
  - `name` string, required
  - `description` string, nullable
  - `tags` string[]
  - `sourceUrl` string, required
  - `durationMs` integer, nullable
  - `bpm` integer, nullable
  - `mood` string, nullable
  - `genre` string, nullable
  - `loopCompatible` boolean
  - `userId` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/framesail/apis/framesail-api.md) · [All operations](https://skmtc.dev/framesail/apis/framesail-api/llms.txt) · [OpenAPI document](https://skmtc.dev/framesail/apis/framesail-api/revisions/12602eae0820?raw)
