---
title: "Get public account data directly from the database"
method: GET
path: "/users"
tags: ["Accounts"]
---

# Get public account data directly from the database

`GET /users`

Provide any combination of the parameters below to return all users that match this criteria. Use asterisks for wildcards. Values are NOT case sensitive.

## Query parameters

- `userId` string
- `email` string
- `userName` string
- `fullName` string
- `role` string
- `status` 'active' | 'deactivated'
- `limit` integer
- `page` integer
- `sortCol` string
- `sortOrder` 'asc' | 'desc'

## Response `200`

A body of response data containing user records from the database that match search criteria.

- object
  - `criteria` object
  - `metadata` object
    - `totalCount` integer — The total number of users.
  - `results` User[] — unresolved $ref

## Other responses

- `400` — Invalid query parameters.
- `500` — Error retrieving data.

---

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