---
title: "List Users"
method: GET
path: "/v2/users"
tags: ["User API"]
---

# List Users

`GET /v2/users`

List all users.

## Query parameters

- `includeDeactivated` boolean — Whether to include deactivated users in the response.
- `pageSize` integer — Maximum number of results to return. Default is 10000, maximum is 10000.
- `pageToken` string — Token for pagination. Leave empty for the first request.

## Response `200`

Success

- SvauthPublicListUsersResponse
  - `data` SvauthPublicUser[] — The list of users.
    - `id` string
    - `email` string
    - `firstName` string
    - `lastName` string
    - `name` string
    - `role` 'USER_ROLE_UNSPECIFIED' | 'USER_ROLE_ORG_MEMBER' | 'USER_ROLE_ORG_ADMIN' | 'USER_ROLE_ORG_GUEST'
    - `avatarUrl` string, nullable
    - `createdAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    - `deactivatedAt` string, date-time — A timestamp in RFC 3339 format (e.g., "2025-01-15T01:30:15Z").
    - `timezone` string, nullable — IANA timezone, e.g., "America/New_York"
    - `authMethod` 'USER_AUTH_METHOD_UNSPECIFIED' | 'USER_AUTH_METHOD_MAGIC_LINK' — Specifies the authentication method for a user. If unset, the org default applies. Set to MAGIC_LINK to allow the user to bypass SSO (e.g. guest or break-glass accounts).
    - `locale` string, nullable — BCP 47 language tag
  - `nextPageToken` string, nullable — Token for retrieving the next page of results. Empty if no more results.

## Other responses

- `default` — Error

---

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