---
title: "List app users"
method: GET
path: "/user_risk/apps/users/list"
tags: ["userrisk"]
---

# List app users

`GET /user_risk/apps/users/list`

## Request

- Base URL: `https://cyber-risk.upguard.com/api/public`
- URL: `https://cyber-risk.upguard.com/api/public/user_risk/apps/users/list`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/docs/user_risk/apps/users/list/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a list of users using a specific application.

Required API key permissions: `UserRisk` (select when creating API key in Account Settings)

## Query parameters

- `page_size` integer
- `page_token` string
- `sort_by` 'id' | 'email' | 'name' | 'risk_rating'
- `sort_dir` 'asc' | 'desc'
- `app_name` string, required

## Response `200`

The list of users using the application

- UserRiskAppUsersListResponse
  - `next_page_token` string: The token to be used to retrieve the next page of results. Will not be returned if there are no more results.
  - `users` AppUser[], required: The list of users using the application.
    - `email` string, required: The email address of the user.
    - `exposure_level` 'basic' | 'elevated', string: The risk level associated with the application or permission.
    - `first_detected` string, date-time, required: The date and time the user was first detected using this application.
    - `id` string, required: The unique identifier of the user.
    - `name` string, required: The full name of the user.
    - `risk_rating` integer: The security risk rating of the user (0-950).
    - `role` string: The role assigned to the user.
    - `team` string: The team the user belongs to.
    - `usage_policy_outcome` 'approve' | 'tolerate' | 'nudge' | 'block', string, required: The usage policy outcome resolved for this user on this application.

## Other responses

- `403`: Your API key does not have permission to perform this action.
- `422`: An invalid parameter was supplied or a mandatory parameter was missing
- `429`: Too many requests have been made to this endpoint.
- `500`: An internal system error occurred

## Changes

- **2026-11-07** `d044bf6dc61e`: 2 info
  - added the new optional `query` request parameter `sort_by`
  - added the new optional `query` request parameter `sort_dir`

[Operation history](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/changes/user_risk/apps/users/list/get.md)

---

[API](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api.md) - [All operations](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/llms.txt) - [OpenAPI document](https://skmtc.dev/upguard/apis/upguard-cyberrisk-api/revisions/d044bf6dc61e?raw)
