---
title: "Search"
method: GET
path: "/company/v1/users/search"
tags: ["usersService"]
---

# Search

`GET /company/v1/users/search`

Search

## Query parameters

- `email` string
- `firstName` string
- `LastName` string

## Response `200`

OK

- object
  - `data` User
    - `id` integer
    - `firstName` string
    - `lastName` string
    - `patronymic` string
    - `position` string
    - `specialization` string
    - `country` string
    - `city` string
    - `avatar` string
    - `aboutMyself` string
    - `active` boolean
    - `registered` boolean
    - `birthday` number — timestamp in seconds
    - `dateOfDismiss` number — timestamp in seconds
    - `showBirthYear` boolean
    - `email` object[]
      - `id` string
      - `type` string
      - `value` string
      - `main` boolean
    - `phone` object[]
      - `id` string
      - `type` 'WORK' | 'MOBILE' | 'HOME'
      - `value` string
    - `roles` string[]
    - `departmentsIds` string[]
    - `socialMedia` object[]
      - `id` string
      - `name` string
      - `link` string
    - `emailInvitation` boolean
    - `dateOfInvitation` number — timestamp in seconds
  - `meta` Meta
    - `currentPage` number
    - `from` number
    - `lastPage` number
    - `links` object[]
      - `url` string
      - `label` string
      - `active` boolean
    - `path` string
    - `perPage` number
    - `to` number
    - `total` number

## Other responses

- `401` — Access token is missing or invalid

---

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