Skip to main content
GET
List members of an organization

Authorizations

Authorization
string
header
required

Authorization code flow with PKCE-S256. RFC 8628 device flow is also supported.

Path Parameters

orgId
string
required
Pattern: ^[0-9A-HJKMNP-TV-Z]{26}$

Query Parameters

pageSize
integer<int32>

Maximum entries to return; server may cap further.

Required range: 0 <= x <= 500
pageToken
string

Opaque cursor from a previous response's nextPageToken.

sort
enum<string>

Sort column, name when omitted. name orders by public display name, else GitHub handle; people without either come last. role orders by membership role, owner first, then by name; collaborators come last. status orders active, pending, inactive, then people without a membership. joined orders by membership creation, oldest first; people without a membership come last.

Available options:
name,
role,
status,
joined
order
enum<string>

asc (default) or desc. desc reverses the order, but people without a name stay last on the name sort, and people without a membership stay last on joined.

Available options:
asc,
desc

Response

OK

members
object[]
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"/api/v1/schemas/ListOrgMembersOutputBody.json"

nextPageToken
string

Pass back to fetch the next page; empty when no more entries.