---
title: "Upload a file for redaction"
method: POST
path: "/api/unattachedfile/upload"
tags: ["File Redaction"]
---

# Upload a file for redaction

`POST /api/unattachedfile/upload`

Uploads a file and begins processing it for PII detection and redaction. Returns a job identifier that can be used to check processing status and download the redacted file once complete.

## Response `200`

Returns the upload job identifier

- UnattachedFileMinimalApiModel — Response model returned after uploading a file for redaction.
  - `jobId` string — The unique identifier for the redaction job. Use this identifier to check processing status and download the redacted file.

## Other responses

- `400` — Invalid input or file upload failed

---

[API](https://skmtc.net/tonic/apis/textual-api.md) · [All operations](https://skmtc.net/tonic/apis/textual-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonic/textual-api/revisions/41da8739a690/schema)
