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

# Add video

`POST /medias/video`

## Request

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

## Headers

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

## Request body

- CreateVideoInput
  - `filename` string, required: File name
  - `status` 'Uploading' | 'Uploaded' | 'Transcoding' | 'Ready' | 'Ingest' | 'Processing' | 'Complete' | 'ImageComplete' | 'AudioComplete' | 'SubtitleComplete', required: The current status of the video file. Enum
  - `width` number, required: Width of the video
  - `height` number, required: Height of the video
  - `duration` number, required: The duratio nfo the video
  - `mp4Path` string, required: URL of the MP4 file
  - `mp4VodUrl` string, required
  - `orientation` 'landscape' | 'portrait', required: The oreientation of the video content. Enum

## Response `201`

Video 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)
