---
title: "POST /files"
method: POST
path: "/files"
tags: ["files"]
---

# POST /files

`POST /files`

Upload data

## Query parameters

- `dataObjectId` string, required
- `storageBucketId` string, required
- `bagId` string, required

## Response `201`

Created

- object
  - `id` string

## Other responses

- `400` — Bad request

---

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