---
title: "Gets a post"
method: GET
path: "/api/v2/organizations/{orgSlug}/posts/{postId}"
tags: ["Posts"]
---

# Gets a post

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

## Request

- Base URL: `https://app.officernd.com`
- URL: `https://app.officernd.com/api/v2/organizations/{orgSlug}/posts/{postId}`
- Auth: OAuth 2
  - Authorization code: `https://identity.officernd.com/auth/authorize`
  - Client credentials
  - Token URL: `https://identity.officernd.com/auth/token` scopes: `flex.collaboration.posts.read`

Gets a single post by postId. 

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

## Path parameters

- `postId` string, required
- `orgSlug` string, required

## Response `200`

- 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/collaboration-api.md) - [All operations](https://skmtc.dev/officernd/apis/collaboration-api/llms.txt) - [OpenAPI document](https://skmtc.dev/officernd/apis/collaboration-api/revisions/f868beae3384?raw)
