---
title: "Create a file upload"
method: POST
path: "/community/{id}/file"
tags: ["Community Files"]
---

# Create a file upload

`POST /community/{id}/file`

## Path parameters

- `id` string, required

## Request body

- CreateFileDto
  - `name` string, required — The name of the file (must include file extension)

## Response `200`

File created successfully

- File

---

[API](https://skmtc.net/openpage/apis/openpage-api-reference.md) · [All operations](https://skmtc.net/openpage/apis/openpage-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openpage/openpage-api-reference/revisions/99e35ba4d97e/schema)
