---
title: "Get active user listing"
method: GET
path: "/admin/active-users"
tags: ["Admin"]
---

# Get active user listing

`GET /admin/active-users`

## Request

- Base URL: `https://api.unravelcarbon.com/api/v1`
- URL: `https://api.unravelcarbon.com/api/v1/admin/active-users`
- Auth: HTTP bearer

Export a daily active user listing for IT access reviews.

- **Grain**: one row per active company user
- **Scope**: company associated with the API key
- **Role formatting**: `OrgName: Role` pairs, comma-separated when a user has multiple assignments
- **Subsystem**: always `ESG`

Requires an API key whose owner currently has company Administrator or workspace Administrator access.

## Headers

- `Authorization` string, required

## Response `200`

Active user listing

- AuditActiveUserResponse
  - `data` AuditActiveUserRecord[]
    - `Name` string
    - `Status` 'Active'
    - `UserPrincipalName` string
    - `Company Level` string: Comma-separated organizational unit names assigned to the user.
    - `Role` string: Paired org and role assignments in OrgName-Role format, comma-separated.
    - `Subsystem` 'ESG'
    - `Load Date` string: Report generation date (`dd/MM/yyyy`).
    - `Last Login Date` string: Last login date (`dd/MM/yyyy`), blank when never logged in.

## Other responses

- `401`: Missing, invalid, or expired API key, or a valid key whose owner is not currently a company or workspace Administrator. These cases return 401 with a `message` field. A valid non-admin key does not return 403.

---

[API](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api.md) - [All operations](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unravelcarbon/apis/unravel-carbon-public-api/revisions/310d3bb09dbe?raw)
