v1

latestOpenAPI 3.1.02026-07-14159142161.9 KB
usersService

Search

Search

get/company/v1/users/search

Query parameters

emailstring
firstNamestring
LastNamestring

Response

OK

Example response

{
  "data": {
    "id": 1,
    "firstName": "Stas",
    "lastName": "Raranetskyi",
    "position": "CTO",
    "specialization": "Specialist",
    "country": "Ukraine",
    "city": "Kiyv",
    "avatar": "/storage/avatars/c4ca423/avatar.jpeg",
    "aboutMyself": "about me",
    "registered": true,
    "birthday": 1654180120,
    "dateOfDismiss": 1654180120,
    "showBirthYear": true,
    "email": [
      {
        "id": "",
        "type": "main",
        "value": "stark@gmail.com",
        "main": true
      },
      {
        "id": "01gdnpddf5xgzxqvcn4x83mc2s",
        "type": "work",
        "value": "benner@gmail.com",
        "main": false
      }
    ],
    "phone": [
      {
        "id": "01gdnpddf5xgzxqvcn4x83mc2s",
        "type": "WORK",
        "value": "+380123456789"
      }
    ],
    "roles": [
      "OWNER",
      "Employee",
      "ADMIN"
    ],
    "departmentsIds": [
      "1",
      "2"
    ],
    "socialMedia": [
      {
        "id": "01gdnpddf5xgzxqvcn4x83bn2s",
        "name": "facebook",
        "link": "https://www.facebook.com"
      }
    ],
    "emailInvitation": true,
    "dateOfInvitation": 1654180120
  },
  "meta": {
    "currentPage": 1,
    "from": 1,
    "lastPage": 1,
    "links": [
      {
        "label": "Previous"
      }
    ],
    "path": "https://domain.uspacy.ua/groups/v1/groups",
    "perPage": 20,
    "to": 2,
    "total": 2
  }
}