---
title: "Creates a Comment"
method: POST
path: "/api/2026-07-01/resources/posts/comments"
tags: ["Posts > Comment"]
---

# Creates a Comment

`POST /api/2026-07-01/resources/posts/comments`

Creates a Comment

## Request body

- object
  - `post_id` string, required — identifier of the post
  - `text` string, required — Text of the comment

## Response `201`

CREATED

- PostsComment
  - `id` string, required — identifier of the comment
  - `post_id` string, required — identifier of the post
  - `author_id` string, required — author identifier refers to the employee access, you can get the employee from the employee endpoint
  - `text` string, required — text of the comment
  - `created_at` string, required — date of the comment

---

[API](https://skmtc.net/factorialhr/apis/factorial-api.md) · [All operations](https://skmtc.net/factorialhr/apis/factorial-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/factorialhr/factorial-api/revisions/1a6bffb20f7d/schema)
