---
title: "Upload Attachment"
method: POST
path: "/api/v1/chats/{chat_id}/attachments"
tags: ["chats"]
---

# Upload Attachment

`POST /api/v1/chats/{chat_id}/attachments`

Upload a file attachment (image or PDF) for a chat message.

## Path parameters

- `chat_id` string, uuid, required

## Response `201`

Successful Response

- AttachmentRead
  - `id` string, required
  - `url` string, required
  - `filename` string, required
  - `content_type` string, required
  - `category` string, required
  - `s3_key` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/netter/apis/dmi-backend.md) · [All operations](https://skmtc.net/netter/apis/dmi-backend/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netter/dmi-backend/versions/a59877bf911b/schema)
