---
title: "POST /contents/{id}/files"
method: POST
path: "/contents/{id}/files"
tags: ["Content"]
---

# POST /contents/{id}/files

`POST /contents/{id}/files`

## Request

- Base URL: `https://api.vp0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.vp0.com/contents/{id}/files`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- AddFilesDto
  - `files` CreateVersionFileDto[], required
    - `path` string, required
    - `target` string
    - `file_type` string
    - `code_url` string
    - `content_inline` string
    - `is_entrypoint` boolean
    - `sort_order` number

## Response `201`

---

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