---
title: "Create media record by file name provided"
method: POST
path: "/api/v1/media"
tags: ["api"]
---

# Create media record by file name provided

`POST /api/v1/media`

## Request body

- CreateMedia
  - `fileName` string, required — File name which is unique uuid identifier
  - `title` string — Human readable media title

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.dev/truepill/apis/truepill-api-documentation.md) · [All operations](https://skmtc.dev/truepill/apis/truepill-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/truepill/truepill-api-documentation/revisions/d9aaa355c1e0/schema)
