---
title: "List the pre-authorized link keys this account holds"
method: GET
path: "/api/preauth-keys"
tags: ["nodes"]
---

# List the pre-authorized link keys this account holds

`GET /api/preauth-keys`

## Request

- Base URL: `https://app.nerdit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.nerdit.ai/api/preauth-keys`
- Auth: none declared

Answer metadata for every key on the account, newest first.

Revoked and expired rows are included: this list is also the record of
what the account has handed out, and a key that stopped working is
exactly the row an owner comes here to find.

## Response `200`

Successful Response

- PreauthKeysView: The account's keys, newest first.
  - `keys` PreauthKeyView[], required
    - `id` string, uuid, required
    - `name` string, nullable, required
    - `max_uses` integer, required
    - `used_count` integer, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `last_used_at` string, date-time, nullable, required
    - `revoked_at` string, date-time, nullable, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/nerdit/apis/nerdit-cloud-web.md) · [All operations](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/llms.txt) · [OpenAPI document](https://skmtc.dev/nerdit/apis/nerdit-cloud-web/revisions/06e3b44b58be?raw)
