---
title: "Upload and attach a file to an item"
method: POST
path: "/file"
tags: ["File"]
---

# Upload and attach a file to an item

`POST /file`

## Response `200`

The result

- object
  - `result` boolean

## Other responses

- `default` — Unexpected error

## Changes

- **2016-09-26** `974c10365bea` — 1 info
  - endpoint added
- **2016-09-08** `d50f6f1346e0` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nextcloud/apis/passman-api/changes/file/post.md)

---

[API](https://skmtc.dev/nextcloud/apis/passman-api.md) · [All operations](https://skmtc.dev/nextcloud/apis/passman-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/passman-api/revisions/79e52d7d686a/schema)
