---
title: "List Discord guild members"
method: GET
path: "/v1/discord/guilds/{guildId}/members"
tags: ["Discord"]
---

# List Discord guild members

`GET /v1/discord/guilds/{guildId}/members`

Cursor-paginated list of guild members. Returns Discord's raw member
objects so callers can build community-ops automation (e.g. "add role
to all members joined in the last 7 days") on the actual platform shape.

Pagination: pass `after` = the last `user.id` from the previous page.
Omit on the first call. Response includes a `nextCursor` and `hasMore`
flag so callers don't need to know Discord's pagination shape.

## Path parameters

- `guildId` string, required

## Query parameters

- `accountId` string, required
- `limit` integer
- `after` string

## Response `200`

List of guild members.

- object
  - `data` DiscordGuildMember[]
    - `user` object
      - `id` string — User snowflake
      - `username` string
      - `discriminator` string
      - `avatar` string, nullable
      - `global_name` string, nullable — User's display name (post-2023 Discord rebrand)
    - `nick` string, nullable — Guild-specific nickname
    - `roles` string[] — Snowflake IDs of roles assigned to this member
    - `joined_at` string, date-time
    - `premium_since` string, date-time, nullable — When the user started boosting the server
  - `pagination` object
    - `nextCursor` string, nullable — Pass as `after` on the next call. Null when there are no more pages.
    - `hasMore` boolean

## Other responses

- `400` — Invalid query params.
- `401` — Unauthorized
- `403` — Discord denied access to the guild members (the bot is no longer in the guild).
- `404` — Discord account not found or not in this guild.

---

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