---
title: "List recently active user IDs"
method: GET
path: "/api/admin/v1/users/active"
tags: ["Admin"]
---

# List recently active user IDs

`GET /api/admin/v1/users/active`

Returns IDs of users with heartbeats since the given timestamp. The since value is floored to at most 90 days ago, and results are capped at 50,000 IDs.

## Query parameters

- `since` integer

## Response `200`

successful

- object
  - `user_ids` integer[]

## Other responses

- `422` — invalid since parameter — Returned ("invalid since parameter") when since is negative.

---

[API](https://skmtc.net/hackclub/apis/hackatime-admin-api.md) · [All operations](https://skmtc.net/hackclub/apis/hackatime-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hackclub/hackatime-admin-api/versions/6ba07170a777/schema)
