---
title: "Uploads one or multiple files to the Project with the given ID if it exists"
method: POST
path: "/docprocessing/project/{project_id}"
tags: ["docprocessing"]
---

# Uploads one or multiple files to the Project with the given ID if it exists

`POST /docprocessing/project/{project_id}`

## Request

- The document declares no server URL.
- Auth: OAuth 2
  - Password
  - Token URL: `/authentication/login`

## Path parameters

- `project_id` integer, required

## Request body `multipart/form-data`

- BodyDocprocessingUploadFiles
  - `settings` string, required: ProcessingSettings as JSON string
  - `uploaded_files` string[], required: File(s) that get uploaded and represented by the SourceDocument(s)

## Response `200`

Successful Response

- integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) - [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) - [OpenAPI document](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/revisions/e498207e29f4?raw)
