Discord

List Discord guild members

Changed on

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.

get/v1/discord/guilds/{guildId}/members

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/discord/guilds/{guildId}/members
  • Auth: HTTP bearer

Path parameters

guildIdstring required

Query parameters

accountIdstring required
limitinteger

Page size (1-1000).

afterstring

Snowflake of the last member from the previous page.

Response

List of guild members.

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status