---
title: "Adds a Forum Comment"
method: POST
path: "/CommunityComments"
tags: ["ForumComments"]
---

# Adds a Forum Comment

`POST /CommunityComments`

## Request

- Base URL: `https://api.insightly.com/v3.1`
- URL: `https://api.insightly.com/v3.1/CommunityComments`
- Auth: none declared. Required headers: `Authorization`

If you have trouble with creating a Forum Comment, try creating Forum Comments via the web interface, and then access those Forum Comments via the API. This way you            can see examples of the fields and sub-elements attached to the Forum Comment. A common source of problems during write/update request is caused when users omit            required fields, or insert invalid data in a field (e.g. reference a CATEGORY_ID that does not exist in the user's Insightly instance.

## Headers

- `Authorization` string, required

## Request body

- object
  - `COMMENT_ID` integer
  - `BODY` string, string
  - `ANSWER` boolean
  - `SPAM` boolean
  - `PENDING` boolean
  - `OFFICIAL` boolean
  - `UPVOTE_COUNT` string, string
  - `DOWNVOTE_COUNT` string, string
  - `POST_ID` integer, required
  - `CREATED_CONTACT_ID` integer
  - `EDITED_CONTACT_ID` integer
  - `DATE_EDITED_UTC` string, date-time
  - `DATE_CREATED_UTC` string, date-time
  - `DATE_UPDATED_UTC` string, date-time
  - `FORUM_ID` integer, required

## Response `201`

Request succeeded.

- object
  - `COMMENT_ID` integer
  - `BODY` string, string
  - `ANSWER` boolean
  - `SPAM` boolean
  - `PENDING` boolean
  - `OFFICIAL` boolean
  - `UPVOTE_COUNT` string, string
  - `DOWNVOTE_COUNT` string, string
  - `POST_ID` integer, required
  - `CREATED_CONTACT_ID` integer
  - `EDITED_CONTACT_ID` integer
  - `DATE_EDITED_UTC` string, date-time
  - `DATE_CREATED_UTC` string, date-time
  - `DATE_UPDATED_UTC` string, date-time
  - `FORUM_ID` integer, required

## Other responses

- `400`: Data validation error.
- `401`: Authentication failed.
- `402`: Record limit reached.

---

[API](https://skmtc.dev/insightly/apis/insightly-api-v3-1.md) - [All operations](https://skmtc.dev/insightly/apis/insightly-api-v3-1/llms.txt) - [OpenAPI document](https://skmtc.dev/insightly/apis/insightly-api-v3-1/revisions/e7df0c3b65fb?raw)
