---
title: "Upload Attachment"
method: POST
path: "/attachments/conversations/{conversationId}/messages/{messageId}/upload"
tags: ["Attachments"]
---

# Upload Attachment

`POST /attachments/conversations/{conversationId}/messages/{messageId}/upload`

Uploads a file attachment to a specific message in a conversation

## Path parameters

- `conversationId` integer, required
- `messageId` integer, required

## Request body

- object
  - `file` string, binary, required

## Response `200`

File uploaded successfully

## Other responses

- `400` — Invalid file or request
- `404` — Conversation or message not found

---

[API](https://skmtc.net/laminar/apis/laminar-api.md) · [All operations](https://skmtc.net/laminar/apis/laminar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/laminar/laminar-api/revisions/e1da36b2ef38/schema)
