---
title: "Returns all users with tokens registered and their token information. Does not send the tokens."
method: GET
path: "/api/Users/tokens"
tags: ["Users"]
---

# Returns all users with tokens registered and their token information. Does not send the tokens.

`GET /api/Users/tokens`

## Request

- Base URL: `http://localhost:5000`
- URL: `http://localhost:5000/api/Users/tokens`
- Auth: API key in header `x-api-key`

Kavita+ only

## Response `200`

OK

- UserTokenInfoDto[]
  - `userId` integer
  - `username` string, nullable
  - `tokens` TokenValidityInfoDto[], nullable
    - `provider` 0 | 1 | 2 | 4 | 5 | 6: Members: - `0` — Kavita - `1` — AniList - `2` — Mal - `4` — Cbr - `5` — Hardcover - `6` — MangaBaka
    - `validUntilUtc` string, date-time

## Changes

- **2026-06-05** `095d20153db4`: 12 warning, 3 info
  - removed the optional property `items/aniListValidUntilUtc` from the response with the `200` status (media type: text/plain)
  - removed the optional property `items/aniListValidUntilUtc` from the response with the `200` status (media type: application/json)
  - removed the optional property `items/aniListValidUntilUtc` from the response with the `200` status (media type: text/json)
  - removed the optional property `items/isAniListTokenSet` from the response with the `200` status (media type: text/plain)
  - …11 more

[Operation history](https://skmtc.dev/kareadita/apis/kavita/changes/api/Users/tokens/get.md)

---

[API](https://skmtc.dev/kareadita/apis/kavita.md) - [All operations](https://skmtc.dev/kareadita/apis/kavita/llms.txt) - [OpenAPI document](https://skmtc.dev/kareadita/apis/kavita/revisions/d266465eeb67?raw)
