Docs/Admin API/Users/List

List users

GET/admin/v1/users

Lists users.

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.

  • pageSize

    int32

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

    If unspecified, at most 20 users 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 users call. Provide this to retrieve the subsequent page.

    When paginating, all other parameters provided to list users 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
    • signupTime desc
    • createTime desc
    • deleteTime desc
  • showDeleted

    boolean

    Whether to show deleted users.

  • view

    enum

    The User view to return in the results.

    This defaults to the BASIC view.

    Possible values:
    BASICFULL

Returns

  • users

    User[]

    The list of users.

  • 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/users \
  -H "Authorization: Bearer $USERHUB_ADMIN_KEY"
Response bodyJSON
{
  "users": [
    {
      "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"
    },
    {
      "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"
    }
  ],
  "nextPageToken": ""
}
PreviousThe user object
NextCreate a user

Build software thatmonetizes
$

Subscribe to monthly product updates

© 2025 UserHub

Integrations

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