---
title: "Upload Attachment"
method: POST
path: "/api/transactions/{transaction_id}/attachments"
tags: ["attachments"]
---

# Upload Attachment

`POST /api/transactions/{transaction_id}/attachments`

## Path parameters

- `transaction_id` string, uuid, required

## Headers

- `X-Workspace-Id` string, nullable

## Response `201`

Successful Response

- AttachmentRead
  - `id` string, uuid, required
  - `transaction_id` string, uuid, required
  - `filename` string, required
  - `content_type` string, required
  - `size` integer, required
  - `created_at` string, date-time, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) · [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesecuro/securo/revisions/1df3dfa0c028/schema)
