Docs/Admin API/Organizations/List members

List members

GET/admin/v1/organizations/{organizationId}/members

Lists organization members.

path parameters

  • organizationId

    string

    Required

    The identifier of the organization.

query parameters

  • displayName

    string

    Filter the results by display name.

    To enable prefix filtering append * to the end of the value and ensure you provide at least 3 characters excluding the wildcard.

    This filter is case-insensitivity.

  • email

    string

    Filter the results by email address.

    To enable prefix filtering append * to the end of the value and ensure you provide at least 3 characters excluding the wildcard.

    This filter is case-insensitivity.

  • roleId

    string

    Filter the results by a role identifier.

  • pageSize

    int32

    The maximum number of members to return. The API may return fewer than this value.

    If unspecified, at most 20 members will be returned. The maximum value is 100; values above 100 will be coerced to 100.

  • pageToken

    string

    A page token, received from a previous list members call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to list members must match the call that provided the page token.

  • orderBy

    string

    A comma-separated list of fields to order by.

    Supports:

    • displayName asc
    • email asc
    • createTime desc

Returns

  • members

    Member[]

    The list of members.

  • nextPageToken

    string

    A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

  • previousPageToken

    string

    A token, which can be sent as pageToken to retrieve the previous page. If this field is absent, there are no preceding pages. If this field is an empty string then the previous page is the first result.

curl https://api.userhub.com/admin/v1/organizations/org_28seyVGVL1got6/members \
  -H "Authorization: Bearer $USERHUB_ADMIN_KEY"
Response bodyJSON
{
  "members": [
    {
      "state": "ACTIVE",
      "user": {
        "id": "usr_2JRcPwpTSP1nyB",
        "state": "ACTIVE",
        "displayName": "John Doe",
        "email": "[email protected]",
        "emailVerified": false,
        "phoneNumber": "+12345678901",
        "phoneNumberVerified": false,
        "imageUrl": "https://example.com/john.jpg",
        "address": null,
        "accountConnections": [],
        "subscription": null,
        "memberships": [],
        "signupTime": "2024-11-15T13:00:00Z",
        "createTime": "2024-11-15T13:00:00Z",
        "updateTime": "2024-11-15T13:00:00Z"
      },
      "role": {
        "id": "role_2mD13uXP",
        "uniqueId": "member",
        "displayName": "Member",
        "type": "MEMBER",
        "description": "Can see every member in the organization",
        "permissionSets": [
          "members.invite"
        ],
        "default": true,
        "archived": false,
        "createTime": "2024-11-15T13:00:00Z",
        "updateTime": "2024-11-15T13:00:00Z"
      },
      "seat": null,
      "createTime": "2024-11-15T13:00:00Z",
      "updateTime": "2024-11-15T13:00:00Z"
    },
    {
      "state": "ACTIVE",
      "user": {
        "id": "usr_MKFxzgJaAH8JQ4",
        "state": "ACTIVE",
        "displayName": "Jane Doe",
        "email": "[email protected]",
        "emailVerified": true,
        "phoneNumber": "+12125550123",
        "phoneNumberVerified": false,
        "imageUrl": "https://example.com/jane.jpg",
        "currencyCode": "USD",
        "languageCode": "en",
        "regionCode": "US",
        "timeZone": "America/New_York",
        "address": {
          "lines": [
            "42 West St"
          ],
          "city": "Brooklyn",
          "state": "NY",
          "postalCode": "11222",
          "country": "US"
        },
        "accountConnections": [],
        "subscription": null,
        "memberships": [],
        "signupTime": "2024-11-15T13:00:00Z",
        "createTime": "2024-11-15T13:00:00Z",
        "updateTime": "2024-11-15T13:00:00Z"
      },
      "role": {
        "id": "role_2mD13uXP",
        "uniqueId": "member",
        "displayName": "Member",
        "type": "MEMBER",
        "description": "Can see every member in the organization",
        "permissionSets": [
          "members.invite"
        ],
        "default": true,
        "archived": false,
        "createTime": "2024-11-15T13:00:00Z",
        "updateTime": "2024-11-15T13:00:00Z"
      },
      "seat": null,
      "createTime": "2024-11-15T13:00:00Z",
      "updateTime": "2024-11-15T13:00:00Z"
    }
  ],
  "nextPageToken": ""
}
PreviousDisconnect external account
NextAdd a member

Build software thatmonetizes
$

Subscribe to monthly product updates

© 2025 UserHub

Integrations

    UserHub & Auth0UserHub & Stripe BillingUserHub & Google CloudUserHub & FirebaseUserHub & custom auth