---
title: "Create a file in app"
method: POST
path: "/apps/{app_id}/files"
tags: ["Apps"]
---

# Create a file in app

`POST /apps/{app_id}/files`

## Path parameters

- `app_id` string, uuid, required

## Request body

- CreateFileRequest
  - `path` string, required
  - `content` string, required

## Response `201`

File created successfully

- Success
  - `message` string

## Other responses

- `400` — Bad request or validation error

---

[API](https://skmtc.dev/shardcloud/apis/cloud-website-api.md) · [All operations](https://skmtc.dev/shardcloud/apis/cloud-website-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shardcloud/cloud-website-api/revisions/7fe2fc6c24d7/schema)
