---
title: "Fetches all users"
method: GET
path: "/user"
tags: ["User"]
---

# Fetches all users

`GET /user`

## Request

- Base URL: `https://api.insided.com`
- URL: `https://api.insided.com/user`
- Auth: OAuth 2 (client credentials, token URL `/oauth2/token`)

Fetches all users

## Query parameters

- `page` integer
- `pageSize` integer
- `_returnIterable` boolean
- `filter[roles.rolename][]` string[]
- `filter[badges.badgeid][]` integer[]
- `filter[userid][]` integer[]
- `filter[joindate][from]` string, date
- `filter[joindate][to]` string, date
- `filter[lastactivity][from]` string, date
- `filter[lastactivity][to]` string, date

## Response `200`

Returns users

- union
  - UserResponse
    - `statistics` object
      - `count` integer
  - IterableUserResponse
    - `users` User[]
      - `userid` integer
      - `usergroupid` integer: Not in use
      - `membergroupids` integer: Not in use
      - `displaygroupid` integer: Not in use
      - `username` string
      - `email` string
      - `posts` integer: The number of visible replies created by the user
      - `deleted_posts` integer: The number of deleted replies created by the user
      - `options` integer: Bitmask containing values for two personal settings
      - `autosubscribe` integer: Boolean flag for email notifications
      - `customoptions` integer: Custom options bitmask
      - `topics` integer: The number of visible topics created by the user
      - `solved` integer: The number of replies marked as the best answer
      - `ipaddress` string
      - `usertitle` string: Custom user title
      - `customtitle` integer: Boolean flag for custom title
      - `session_ids_flagged_for_logout` string[]: List of session IDs flagged for logout
      - `external_logout_at` string, nullable: Timestamp for external logout
      - `pmunread` integer: The number of unread private messages
      - `subscriptions` integer: The total number of topic subscriptions
      - `pmtotal` integer: The total number of private messages received
      - `following` integer: The number of users followed by this user
      - `followers` integer: The number of users following this user
      - `avatar` string
      - `signature` string: User's signature displayed under posts
      - `reputation` integer: User's reputation score
      - `lastvisit` integer: Timestamp of the user's last session
      - `lastactivity` integer: Timestamp of the user's last activity
      - `insided_sso_customeruid` string: SSO customer UID
      - `reviewcount` integer: The number of reviews created by the user
      - `ratingcount` integer: The number of ratings given by the user
      - `lastpostid` integer: ID of the last reply created by the user
      - `lastpost` integer: Timestamp of the user's last reply
      - `joindate` integer: Timestamp of the user's registration
      - `likes` integer: Total likes received by the user
      - `likes_given` integer: Total likes given by the user
      - `blogposts` integer: The number of blog posts created by the user
      - `researches` integer: The number of researches conducted by the user
      - `rank_id` integer
      - `rank_name` string: The name of the rank achieved by the user
      - `rank_display_name` string: The displayed name of the user's rank
      - `rank_avatar_icon` string, nullable: Image representing the rank
      - `rank_avatar_icon_thumb` string, nullable: Thumbnail image for the rank
      - `is_moderator` integer: Boolean flag indicating if the user is a moderator
      - `cdn` string: Base URL for CDN
      - `autoAddToFavorites` boolean: Indicates if replying or creating a topic subscribes the user to notifications
      - `crudListCacheDependencyKey` string: Cache dependency key for CRUD operations
      - `id` string, nullable: User ID
      - `_related` object
        - `userprofilefields` object[]
          - `id` integer
          - `userid` integer
          - `profilefieldid` integer
          - `value` string
          - `profilefield_name` string
          - `_related` object[]
        - `badges` object[]
        - `badgesCount` integer
        - `roles` object[]
          - `auth_item_id` integer
          - `itemname` string
          - `userid` integer
          - `bizrule` string, nullable
          - `data` string, nullable
          - `_related` object
            - `items` object
              - …
    - `statistics` object
      - `count` integer

## Other responses

- `404`: Not Found
- `500`: Unexpected error

---

[API](https://skmtc.dev/insided/apis/user-api.md) · [All operations](https://skmtc.dev/insided/apis/user-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insided/apis/user-api/revisions/d5cbe609c9e7?raw)
