---
title: "Add Project Comment"
method: POST
path: "/projects/{project_id}/comments"
tags: ["Projects"]
---

# Add Project Comment

`POST /projects/{project_id}/comments`

## Path parameters

- `project_id` string, id, required

## Headers

- `X-CompanyCam-User` string

## Request body

- object
  - `comment` object
    - `content` string

## Response `201`

The created project comment

- Comment
  - `id` string, required — The unique ID of the comment
  - `creator_id` string — The id of the entity that created the Comment
  - `creator_type` string — The type of the entity that created the Comment
  - `creator_name` string — The display name of the entity that created the Comment
  - `commentable_id` string — The unique ID of the entity that the comment was applied to
  - `commentable_type` string — The type of the entity that the comment was applied to.
  - `status` string — This should always be active
  - `content` string — The contents of the comment. This may contain whitespace characters such as newlines.
  - `created_at` integer — Timestamp when the Comment was created on the server
  - `updated_at` integer — Timestamp when the Comment was last updated

## Other responses

- `400` — Bad Request
- `404` — Not found
- `500` — Unexpected error

---

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