---
title: "Retrieve all posts"
method: GET
path: "/api/v2/organizations/{orgSlug}/posts"
tags: ["Posts"]
---

# Retrieve all posts

`GET /api/v2/organizations/{orgSlug}/posts`

Retrieve all posts. 

 Required scopes: `flex.collaboration.posts.read`

## Path parameters

- `orgSlug` string, required

## Query parameters

- `_id` string[]
- `locations` string[]
- `modifiedAt` string
- `createdAt` string
- `$select` string
- `$cursorNext` string
- `$cursorPrev` string
- `$limit` number

## Response `200`

- object
  - `rangeStart` number
  - `rangeEnd` number
  - `cursorNext` string
  - `cursorPrev` string
  - `results` PostResultDto[]
    - `_id` string — The _id of the post.
    - `title` string — The title of the post.
    - `description` string — The content the post.
    - `locations` string[] — An array with the ids of all locations in which the post is visible.
    - `isPinned` boolean — Shows if the post is pinned to the top.
    - `type` 'info' | 'important' | 'event' — The type of the post.
    - `url` string — An additional url that is shown in the post.
    - `image` string — The url of the image of the post.
    - `member` string — The _id of the member that created the post.
    - `company` string — The _id of the company that created the post.
    - `createdBy` string — The user that created the post.
    - `createdAt` string — The time when the post was created.

---

[API](https://skmtc.dev/officernd/apis/authentication-api.md) · [All operations](https://skmtc.dev/officernd/apis/authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/officernd/authentication-api/revisions/6bcd33dc648e/schema)
