---
title: "Upload Files"
method: POST
path: "/assets/upload"
tags: ["Assets"]
---

# Upload Files

`POST /assets/upload`

## Request body

- UploadFilesDto
  - `targetDirectory` string, required — Target directory for the uploaded files

## Response `200`

Files uploaded successfully.

## Other responses

- `400` — Failed to upload files.

## Changes

- **2024-03-04** `df980ba7aa16` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/openwebgal/apis/webgal-terre-api/changes/assets/upload/post.md)

---

[API](https://skmtc.dev/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.dev/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/revisions/df980ba7aa16/schema)
