---
title: "Add a comment to a note"
method: POST
path: "/notes/{id}/comments"
tags: ["Notes"]
---

# Add a comment to a note

`POST /notes/{id}/comments`

Adds a new comment to a note.

## Path parameters

- `id` integer, required

## Request body

- object
  - `content` string, required — The content of the comment in HTML format. Subject to sanitization on the back-end.

## Response `200`

Add, update or get a comment

- object
  - `success` boolean — If the request was successful or not
  - `data` object
    - `uuid` string, uuid — The ID of the note
    - `active_flag` boolean — Whether the note is active or deleted
    - `add_time` string — The creation date and time of the note
    - `update_time` string — The creation date and time of the note
    - `content` string — The content of the note in HTML format. Subject to sanitization on the back-end.
    - `object_id` string — The ID of the object that the comment is attached to, will be the id of the note
    - `object_type` string — The type of object that the comment is attached to, will be "note"
    - `user_id` integer — The ID of the user who created the comment
    - `updater_id` integer — The ID of the user who last updated the comment
    - `company_id` integer — The ID of the company

---

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