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

# Upload Attachment

`POST /api/attachments`

## Headers

- `Authorization` string, nullable
- `X-Fleet-User-Id` string, uuid, nullable
- `X-Fleet-Workspace-Id` string, uuid, nullable

## 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-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/f18c4c8586ca/schema)
