Posts > Post

Reads all Posts

Changed on
What does it do?

These endpoints allow you to retrieve posts of a community

What can you do with groups?

Increase visibility and communication within the company by creating interaction and community within your company.

Who can use it?

For having this funcionality available, you need to have Communities V2 feature available

get/api/2026-10-01/resources/posts/posts

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/posts/posts
  • 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

groups[]string[]

group identifiers of the posts

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

date from which posts will be retrieved

Example:2024-05-02
untilstring

date until which the posts will be retrieved

Example:2024-08-01
ids[]string[]

identifiers of the post

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

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "title": "Are you ready for the perfomance review?",
      "description": "As you know today we start the performance review process.",
      "allow_comments_and_reactions": true,
      "published_at": "2024-07-17T00:00:00Z",
      "created_at": "2024-07-17T00:00:00Z",
      "updated_at": "2024-07-17T00:00:00Z",
      "visits_count": 10,
      "cover_image_url": "https://example.com/image.jpg",
      "posts_group_id": "1"
    }
  ]
}

Changes