---
title: "Create File Comment"
method: POST
path: "/api/v1/files/{file_id}/comments"
tags: ["v1", "File Manager"]
---

# Create File Comment

`POST /api/v1/files/{file_id}/comments`

## 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`
- Auth: none declared

Append one comment to the file's Timeline tab.

Gated on view access, not manage access — anyone who can see the file
(same rule as the Timeline GET above) can comment on it, same as a
Google Doc viewer being able to leave a comment without edit rights.

## Path parameters

- `file_id` integer, required: files.id

## Request body

- FileCommentCreateRequest
  - `body` string
  - `mentions` MentionInput[]
    - `user_id` integer, required
    - `name` string, nullable
  - `attachments` CommentAttachmentInput[]
    - `storage_path` string, required
    - `file_name` string, required
    - `content_type` string, nullable
    - `size` integer
  - `parent_comment_id` integer, 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)
