---
title: "Get group members"
method: GET
path: "/groups/{id}/members"
tags: ["Groups"]
---

# Get group members

`GET /groups/{id}/members`

Retrieves a paginated list of user IDs assigned to the specified group.

## Response `200`

Returns a JSON object containing a endUsers and agents array with user ID, email and user name.

- GroupMembersResponse
  - `limit` integer — The number of items that are returned per page
  - `offset` integer — The offset used for pagination.
  - `total` integer — The total number of elements across all pages.
  - `data` object
    - `agents` GroupMember[] — A list of agents belonging to the group.
      - `id` integer — The unique identifier of the group member.
      - `email` string, email — The email address of the group member.
      - `userName` string — The username of the group member.
    - `endUsers` GroupMember[] — A list of end users belonging to the group.
      - `id` integer — The unique identifier of the group member.
      - `email` string, email — The email address of the group member.
      - `userName` string — The username of the group member.

## Other responses

- `401` — Authentication information is missing or invalid
- `404` — The specified resource was not found

---

[API](https://skmtc.net/sysaid/apis/sysaid-public-api.md) · [All operations](https://skmtc.net/sysaid/apis/sysaid-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sysaid/sysaid-public-api/revisions/38a43a1b2981/schema)
