---
title: "Get Comment Attachment Upload Url"
method: POST
path: "/api/v1/files/{file_id}/comments/attachment-upload-url"
tags: ["v1", "File Manager"]
---

# Get Comment Attachment Upload Url

`POST /api/v1/files/{file_id}/comments/attachment-upload-url`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/files/{file_id}/comments/attachment-upload-url`
- Auth: none declared

Signed PUT URL for a Timeline comment's media attachment (image,
video, PDF, CAD/2D drawing — any type). Same two-phase contract as file
revisions: PUT the bytes here, then pass the returned `filePath` back
as one of the `attachments` entries on POST /comments. Gated on view
access only, matching comment-posting itself.

## Path parameters

- `file_id` integer, required: files.id

## Request body

- CommentAttachmentUploadUrlRequest
  - `filename` string, required
  - `content_type` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
