---
title: "Video Engine Upload Media"
method: POST
path: "/api/admin/video/upload-media"
tags: ["Admin"]
---

# Video Engine Upload Media

`POST /api/admin/video/upload-media`

## Request

- Base URL: `https://api.xfinlab.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.xfinlab.com/api/admin/video/upload-media`
- Auth: none declared

Multipart upload -- `file` is the raw photo/video from the
admin's own computer, `frame_second` (optional, video only) is which
second to extract a still frame from (defaults to the video's
midpoint if omitted). Max sizes/duration and allowed extensions are
enforced inside save_media_upload() itself; a rejection there
becomes a 400 with the real reason, not a silent failure.

## Query parameters

- `token` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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