Posts > Comment

Reads all Comments

Changed on

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
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: posts
    • or API key in header x-api-key

Query parameters

post_ids[]string[] required

identifiers of the post

[
  "1",
  "2",
  "3"
]
ids[]string[]

identifiers of the comment

[
  "1",
  "2",
  "3"
]

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "post_id": "1",
      "author_id": "1",
      "text": "How is the week going Ana?",
      "created_at": "2024-07-17T00:00:00Z"
    }
  ]
}

Changes