---
title: "Get public, active groups and group types (no ancestry) by org. Roles: admin, member."
method: GET
path: "/api/memberships/{membershipId}/groups/public"
tags: ["Groups", "Organizations"]
---

# Get public, active groups and group types (no ancestry) by org. Roles: admin, member.

`GET /api/memberships/{membershipId}/groups/public`

## Request

- Base URL: `https://api.mobilecoach.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mobilecoach.org/api/memberships/{membershipId}/groups/public`
- Auth: none declared

## Path parameters

- `membershipId` integer, required

## Response `200`

OK

- GroupsResponseGroupCore
  - `success` boolean
  - `error` string
  - `groups` GroupCore[]
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `groupId` integer
    - `groupType` GroupTypeCore
      - `audit` Audit
        - `createdTime` string, date-time
        - `modifiedTime` string, date-time
        - `modifiedBy` string
      - `groupTypeId` integer
      - `membershipId` integer
      - `name` string
      - `namePlural` string
      - `description` string
      - `properties` GroupTypeProperties
        - `announcementsHtml` string
        - `chatEnabled` boolean
        - `chatDefaultEnabled` boolean
        - `contactSharingDefaultEnabled` boolean
        - `postsEnabled` boolean
        - `postsDefaultEnabled` boolean
      - `root` boolean
      - `external` boolean
      - `externalReferenceId` string
      - `isPrivate` boolean
    - `membershipId` integer
    - `name` string
    - `properties` GroupProperties
      - `chatEnabled` boolean
      - `postsEnabled` boolean
    - `nodeActive` boolean
    - `ancestryActive` boolean
    - `active` boolean
    - `root` boolean
    - `external` boolean
    - `externalReferenceId` string

## Other responses

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

## Changes

- **2026-09-18** `36f72442f0a1`: 1 info
  - added the optional property `groups/items/groupType/externalReferenceId` to the response with the `200` status
- **2026-09-02** `870f28ba2607`: 5 info
  - added the optional property `error/errorId` to the response with the `400` status
  - added the optional property `error/errorId` to the response with the `401` status
  - added the optional property `error/errorId` to the response with the `403` status
  - added the optional property `error/errorId` to the response with the `404` status
  - …1 more

[Operation history](https://skmtc.dev/mobilecoach/apis/mobilecoach-api/changes/api/memberships/:membershipId/groups/public/get.md)

---

[API](https://skmtc.dev/mobilecoach/apis/mobilecoach-api.md) - [All operations](https://skmtc.dev/mobilecoach/apis/mobilecoach-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mobilecoach/apis/mobilecoach-api/revisions/df463b248fcb?raw)
