---
title: "GET /api/admin/users/"
method: GET
path: "/api/admin/users/"
tags: ["Admin"]
---

# GET /api/admin/users/

`GET /api/admin/users/`

Returns all users with detailed information on each user, if the requesting user is staff.

## Query parameters

- `ids` string
- `page` integer
- `search` string
- `size` integer
- `sorts` string

## Response `200`

- PaginationSerializerUserAdminResponse
  - `count` integer, required — The total amount of results.
  - `next` string, uri, nullable, required — URL to the next page.
  - `previous` string, uri, nullable, required — URL to the previous page.
  - `results` UserAdminResponse[], required
    - `id` integer, required
    - `username` string, email, required
    - `name` string, required
    - `workspaces` UserAdminWorkspaces[], required
      - `id` integer, required
      - `name` string, required
      - `permissions` string — The permissions that the user has within the workspace.
    - `last_login` string, date-time, nullable
    - `date_joined` string, date-time
    - `is_active` boolean — Designates whether this user should be treated as active. Set this to false instead of deleting accounts.
    - `is_staff` boolean — Designates whether this user is an admin and has access to all workspaces and Baserow's admin areas.
    - `two_factor_auth` object, nullable, required — The user's two factor auth provider state, or null when no provider is configured.
      - `type` string, required
      - `is_enabled` boolean, required

## Other responses

- `400`
- `401` — No response body

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/revisions/0c490e5b0c7f/schema)
