---
title: "Count users"
method: GET
path: "/users/count"
tags: ["companies"]
---

# Count users

`GET /users/count`

## Query parameters

- `company_id` string — Filter users by company ID (starts with comp_)
- `ids` string[] — Filter users by multiple user IDs (starts with user_)
- `plan_id` string — Filter users by plan ID (starts with plan_)
- `q` string — Search for users by name, keys or string traits
- `limit` integer — Page limit (default 100)
- `offset` integer — Page offset (default 0)

## Response `200`

OK

- object
  - `data` CountResponse, required
    - `count` integer — The number of resources
  - `params` object, required — Input parameters
    - `company_id` string — Filter users by company ID (starts with comp_)
    - `ids` string[] — Filter users by multiple user IDs (starts with user_)
    - `limit` integer — Page limit (default 100)
    - `offset` integer — Page offset (default 0)
    - `plan_id` string — Filter users by plan ID (starts with plan_)
    - `q` string — Search for users by name, keys or string traits

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Server error

---

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