---
title: "Adds a Forum Post to a Forum"
method: POST
path: "/CommunityForums/{id}/CommunityPosts"
tags: ["Forums"]
---

# Adds a Forum Post to a Forum

`POST /CommunityForums/{id}/CommunityPosts`

## Request

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

## Path parameters

- `id` integer, required

## 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.
- `403`: API User does not have access to Record.
- `404`: Record not found.

---

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