---
title: "Adds a Forum Post"
method: POST
path: "/CommunityPosts"
tags: ["ForumPosts"]
---

# Adds a Forum Post

`POST /CommunityPosts`

## Request

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

If you have trouble with creating a Forum Post, try creating Forum Posts via the web interface, and then access those Forum Posts via the API. This way you            can see examples of the fields and sub-elements attached to the Forum Post. 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
  - `POST_ID` integer
  - `FORUM_ID` integer, required
  - `POST_NAME` string, string
  - `MESSAGE` string, string
  - `PINNED` boolean
  - `FEATURED` boolean
  - `CLOSED` boolean
  - `PENDING` boolean
  - `STATUS` string, string
  - `SPAM` boolean

## Response `201`

Request succeeded.

- object
  - `POST_ID` integer
  - `FORUM_ID` integer, required
  - `POST_NAME` string, string
  - `MESSAGE` string, string
  - `PINNED` boolean
  - `FEATURED` boolean
  - `CLOSED` boolean
  - `PENDING` boolean
  - `STATUS` string, string
  - `COMMENT_COUNT` string, string
  - `VIEW_COUNT` string, string
  - `FOLLOWER_COUNT` string, string
  - `UPVOTE_COUNT` string, string
  - `DOWNVOTE_COUNT` string, string
  - `TICKET_ID` string, string
  - `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
  - `SPAM` boolean

## 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)
