---
title: "GET /api/user-companies/list-by-company-ids"
method: GET
path: "/api/user-companies/list-by-company-ids"
tags: ["User Companies"]
---

# GET /api/user-companies/list-by-company-ids

`GET /api/user-companies/list-by-company-ids`

Users belonging to any of the given companies. Unscoped — any authenticated caller may query any company's users. `notAdmin=true` additionally excludes Retraced-staff roles and projects `email`.

## Query parameters

- `companyIds` string, required
- `notAdmin` union
  - boolean
  - string

## Response `200`

Default Response

- object[]
  - `id` string, required
  - `firstName` string, required
  - `lastName` string, required
  - `companyId` string, required
  - `isBlocked` number, required
  - `developmentTag` string, required
  - `hasAgreedWithTerms` boolean, required
  - `emailPreferences` unknown, required
  - `email` string

## Other responses

- `400` — Default Response
- `401` — Default Response

---

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