---
title: "List all group members"
method: POST
path: "/groups.memberships"
tags: ["Groups"]
---

# List all group members

`POST /groups.memberships`

List and filter all the members in a group.

## Request body

- object
  - `offset` number
  - `limit` number
  - `id` string, required — Group id
  - `query` string — Filter memberships by user names

## Response `200`

OK

- object
  - `data` object
    - `users` User[]
      - `id` string, uuid — Unique identifier for the object.
      - `name` string — The name of this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
      - `avatarUrl` string, uri — The URL for the image associated with this user, it will be displayed in the application UI and email notifications.
      - `email` string, email — The email associated with this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
      - `role` 'admin' | 'member' | 'viewer' | 'guest'
      - `isSuspended` boolean — Whether this user has been suspended.
      - `lastActiveAt` string, date-time — The last time this user made an API request, this value is updated at most every 5 minutes.
      - `createdAt` string, date-time — The date and time that this user first signed in or was invited as a guest.
    - `groupMemberships` GroupMembership[]
      - `id` string — Unique identifier for the object.
      - `groupId` string, uuid — Identifier for the associated group.
      - `userId` string, uuid — Identifier for the associated user.
      - `user` User
        - `id` string, uuid — Unique identifier for the object.
        - `name` string — The name of this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
        - `avatarUrl` string, uri — The URL for the image associated with this user, it will be displayed in the application UI and email notifications.
        - `email` string, email — The email associated with this user, it is migrated from Slack or Google Workspace when the SSO connection is made but can be changed if neccessary.
        - `role` 'admin' | 'member' | 'viewer' | 'guest'
        - `isSuspended` boolean — Whether this user has been suspended.
        - `lastActiveAt` string, date-time — The last time this user made an API request, this value is updated at most every 5 minutes.
        - `createdAt` string, date-time — The date and time that this user first signed in or was invited as a guest.
  - `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.

---

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