> For the complete documentation index, see [llms.txt](https://apidoc.myfreshcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apidoc.myfreshcloud.com/reference/users.md).

# Пользователи

{% hint style="info" %}
**Обратите внимание:** в списке пользователей доступны только активные  <https://help.myfreshcloud.com/settings/users/off>
{% endhint %}

## Список активных пользователей системы

<mark style="color:blue;">`GET`</mark> `https://do.myfreshcloud.com/users/list`

#### Headers

| Name                                            | Type   | Description               |
| ----------------------------------------------- | ------ | ------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Bearer XXXXXX.XXXXX.XXXXX |
| Content-Type                                    | String | application/json          |

{% tabs %}
{% tab title="200: OK " %}

```javascript
{
  "status": "success",
  "error": "",
  "code": null,
  "rows": 0,
  "pages": 0,
  "page": 0,
  "value": "[
              {
                "id": 37,
                "name": "Jon Mac",
                "department": "Mamagment",
                "phone": "+1 800 000 001",
                "phone_work": "+ 1 800 000 002",
                "email": "exemple@exemple.com",
                "group_id": 1,
                "online": 2,
                "regonline": "2021-07-07 T17:17:33.06",
                "time_zone_offset": "3",
                "avatar": "URL to avatar",
                "position": "CEO"
               }
              ]"
             
```

{% endtab %}

{% tab title="401: Unauthorized " %}

```javascript
{
    // Response
}
```

{% endtab %}
{% endtabs %}

## Columns

| Имя                    | Описание                  |
| ---------------------- | ------------------------- |
| **id**                 | Код                       |
| **name**               | Имя                       |
| **department**         | Отдел компании            |
| **position**           | Должность                 |
| **phone**              | Телефон                   |
| **phone\_work**        | Телефон рабочий           |
| **email**              | Email                     |
| **group\_id**          | Группа доступа            |
| **online**             | Статус                    |
| **regonline**          | Время обновления статуса  |
| **time\_zone\_offset** | Часовой пояс пользователя |
| **avatar**             | Ссылка на аватар          |
