---
title: "Get group posts. Roles: admin, group manager, member."
method: GET
path: "/api/posts/groups/{groupId}"
tags: ["Posts"]
---

# Get group posts. Roles: admin, group manager, member.

`GET /api/posts/groups/{groupId}`

## Path parameters

- `groupId` integer, required

## Response `200`

OK

- PostsResponsePostFull
  - `success` boolean
  - `error` string
  - `posts` PostFull[]
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `postId` integer
    - `groupId` integer
    - `body` string
    - `published` boolean
    - `postTime` string, date-time
    - `deletedTime` string, date-time
    - `deletedBy` string
    - `member` MemberSlim
      - `userMembershipId` integer
      - `membershipId` integer
      - `username` string
      - `firstName` string
      - `middleName` string
      - `lastName` string
      - `email` string
      - `phone` string
      - `membershipNumber` string
      - `fullName` string
      - `isPrimary` boolean
    - `attachments` PostAttachmentFull[]
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `postAttachmentId` integer
      - `statusCode` 'PENDING' | 'READY' | 'FAILED'
      - `seq` integer
      - `originalRemoteFile` RemoteFileSlim
        - `uuid` string, uuid
        - `membershipId` integer
        - `memberId` integer
        - `originalFilename` string
        - `contentType` string
        - `contentLengthBytes` integer
      - `fullRemoteFile` RemoteFileSlim
        - `uuid` string, uuid
        - `membershipId` integer
        - `memberId` integer
        - `originalFilename` string
        - `contentType` string
        - `contentLengthBytes` integer
      - `thumbnailRemoteFile` RemoteFileSlim
        - `uuid` string, uuid
        - `membershipId` integer
        - `memberId` integer
        - `originalFilename` string
        - `contentType` string
        - `contentLengthBytes` integer

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

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