---
title: "List server account groups, distinct from groups of rosters"
method: GET
path: "/v2/server/{serverId}/roster-member-groups"
tags: ["Roster Builder"]
---

# List server account groups, distinct from groups of rosters

`GET /v2/server/{serverId}/roster-member-groups`

## Request

- Base URL: `https://api.clashk.ing`
- URL: `https://api.clashk.ing/v2/server/{serverId}/roster-member-groups`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/clashk/apis/clashking-api/docs/v2/server/:serverId/roster-member-groups/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `serverId` string, required: Discord snowflake as an unsigned decimal string

## Response `200`

Success

- object
  - `items` object[], required
    - `id` string, required
    - `name` string, required
    - `position` integer, required

## Other responses

- `400`: Expected error
- `401`: Expected error
- `403`: Expected error
- `404`: Expected error
- `409`: Expected error
- `413`: Expected error
- `429`: Expected error
- `503`: Expected error

## Changes

> 15 revisions in range; 1 not diffed.

- **2026-11-05** `f1874003a53d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clashk/apis/clashking-api/changes/v2/server/:serverId/roster-member-groups/get.md)

---

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