---
title: "Upload Attachment"
method: POST
path: "/api/attachments"
tags: ["attachments"]
---

# Upload Attachment

`POST /api/attachments`

## Response `201`

Successful Response

- AttachmentResponse — Public attachment metadata — no host or Volume paths.
  - `id` string, uuid, required
  - `filename` string, required
  - `content_type` string, nullable
  - `byte_size` integer, required
  - `checksum_sha256` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-17** `655778279cb1` — 1 info
  - endpoint added
- **2026-07-17** `62e8c152aa18` — 1 breaking
  - api path removed without deprecation
- **2026-07-15** `216311cd30ec` — 3 warning
  - deleted the `header` request parameter `Authorization`
  - deleted the `header` request parameter `X-Fleet-User-Id`
  - deleted the `header` request parameter `X-Fleet-Workspace-Id`
- **2026-07-13** `f18c4c8586ca` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/qredence/apis/fleet-rlm/changes/api/attachments/post.md)

---

[API](https://skmtc.dev/qredence/apis/fleet-rlm.md) · [All operations](https://skmtc.dev/qredence/apis/fleet-rlm/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/qredence/fleet-rlm/revisions/3e0490b230d7/schema)
