---
title: "List the open link codes of the signed-in account"
method: GET
path: "/api/nodes/link-codes"
tags: ["nodes"]
---

# List the open link codes of the signed-in account

`GET /api/nodes/link-codes`

## 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/nodes/link-codes`
- Auth: none declared

Return what the console needs to render pending-node cards.

Only open codes: a consumed one is a linked node and appears in
``GET /api/nodes``, while an expired or revoked one is history the user
can do nothing with.

## Response `200`

Successful Response

- LinkCodesView: Every code the signed-in account still keeps open.
  - `link_codes` LinkCodeView[], required
    - `id` string, uuid, required
    - `node_id` string, uuid, required
    - `node_slug` string, required
    - `status` string, required
    - `attempt_count` integer, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required

## Other responses

- `401`: Unauthorized

---

[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)
