---
title: "Post bug comment"
method: POST
path: "/bugs/{id}/comments"
tags: ["Bugs"]
---

# Post bug comment

`POST /bugs/{id}/comments`

## Request

- Base URL: `https://app.pencil.ink/api/v1`
- URL: `https://app.pencil.ink/api/v1/bugs/{id}/comments`
- Auth: HTTP bearer

## Request body

- CommentInput
  - `content` string, required

## Response `201`

The resource.

- object
  - `data` Comment
    - `id` string
    - `authorType` string
    - `authorId` string
    - `authorName` string
    - `content` string
    - `createdAt` integer

---

[API](https://skmtc.dev/pencil/apis/pencil-public-api.md) · [All operations](https://skmtc.dev/pencil/apis/pencil-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pencil/apis/pencil-public-api/revisions/2b842698b76d?raw)
