---
title: "Reads all Comments"
method: GET
path: "/api/2026-10-01/resources/posts/comments"
tags: ["Posts > Comment"]
---

# Reads all Comments

`GET /api/2026-10-01/resources/posts/comments`

## Request

- Base URL: `https://api.factorialhr.com`
- URL: `https://api.factorialhr.com/api/2026-10-01/resources/posts/comments`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://id.factorialhr.com/oauth/authorize`
    - Token URL: `https://id.factorialhr.com/api/oauth/token` scopes: `posts`
  - API key in header `x-api-key`

Reads all Comments

## Query parameters

- `post_ids[]` string[], required: identifiers of the post
- `ids[]` string[]: identifiers of the comment

## Response `200`

OK

- object
  - `data` 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
  - `meta` PagedIndexMeta
    - `start_cursor` string
    - `end_cursor` string
    - `has_previous_page` boolean, required
    - `has_next_page` boolean, required
    - `limit` integer, required
    - `total` integer, required

## Changes

- **2026-11-03** `83ac9aa1de50`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factorialhr/apis/factorial-api/changes/api/2026-10-01/resources/posts/comments/get.md)

---

[API](https://skmtc.dev/factorialhr/apis/factorial-api.md) - [All operations](https://skmtc.dev/factorialhr/apis/factorial-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factorialhr/apis/factorial-api/revisions/83ac9aa1de50?raw)
