---
title: "List all collection group members"
method: POST
path: "/collections.group_memberships"
tags: ["Collections"]
---

# List all collection group members

`POST /collections.group_memberships`

This method allows you to list a collections group memberships. This is the list of groups that have been given access to the collection.

## Request body

- object
  - `offset` number
  - `limit` number
  - `id` string, uuid, required — Identifier for the collection
  - `query` string — Filter memberships by group names
  - `permission` 'read' | 'read_write'

## Response `200`

OK

- object
  - `data` object
    - `groups` Group[]
      - `id` string, uuid — Unique identifier for the object.
      - `name` string — The name of this group.
      - `memberCount` number — The number of users that are members of the group
      - `createdAt` string, date-time — The date and time that this object was created
      - `updatedAt` string, date-time — The date and time that this object was last changed
    - `collectionGroupMemberships` CollectionGroupMembership[]
      - `id` string — Unique identifier for the object.
      - `groupId` string, uuid — Identifier for the associated group.
      - `collectionId` string, uuid — Identifier for the associated collection.
      - `permission` 'read' | 'read_write'
  - `pagination` Pagination
    - `offset` number
    - `limit` number

## Other responses

- `400` — The request failed one or more validations.
- `401` — The API key is missing or otherwise invalid.
- `403` — The current API key is not authorized to perform this action.
- `429` — The request was rate limited.

## Changes

- **2024-10-18** `fdf2ec9c9df4` — 1 info
  - added the non-success response with the status `429`
- **2024-07-06** `7b33b538cd7d` — 9 info
  - added the optional property `data` to the response with the `400` status
  - added the optional property `data` to the response with the `401` status
  - added the optional property `data` to the response with the `403` status
  - added the optional property `message` to the response with the `400` status
  - …5 more

[Change history](https://skmtc.dev/defaulr/apis/outline-api/changes/collections.group_memberships/post.md)

---

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