---
title: "Add audio"
method: POST
path: "/medias/audio"
tags: ["Media"]
---

# Add audio

`POST /medias/audio`

## Request

- Base URL: `https://api.fanheroapi.com`
- URL: `https://api.fanheroapi.com/medias/audio`
- Auth: API key in header `apiKey`

## Headers

- `channel` string, required
- `organization` string, required

## Request body

- CreateAudioInput
  - `filename` string, required: File name
  - `status` 'Uploading' | 'Uploaded' | 'Transcoding' | 'Ready' | 'Ingest' | 'Processing' | 'Complete' | 'ImageComplete' | 'AudioComplete' | 'SubtitleComplete', required: The current status of the audio file. Enum
  - `duration` number, required: Duration of audio content
  - `mp3Path` string, required: The URL of the audio file

## Response `201`

Audio media created.

---

[API](https://skmtc.dev/fanhero/apis/headless-cms-endpoints.md) - [All operations](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/fanhero/apis/headless-cms-endpoints/revisions/fb8d50c05ee6?raw)
