---
title: "Add a new file"
method: POST
path: "/file"
---

# Add a new file

`POST /file`

## Request body

- object
  - `name` string — name of the file to add
  - `version` string — version of the file to add

## Response `201`

201

- object
  - `id` integer
  - `updatedOn` string
  - `createdOn` string
  - `name` string
  - `version` string
  - `tenantId` integer

## Other responses

- `401` — 401
- `403` — 403
- `404` — 404
- `500` — 500

---

[API](https://skmtc.dev/iotcreators/apis/iot-creators-scs-api.md) · [All operations](https://skmtc.dev/iotcreators/apis/iot-creators-scs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iotcreators/iot-creators-scs-api/revisions/56410fabfdec/schema)
