---
title: "List the world's invite links (a co-builder)"
method: GET
path: "/api/v2/links"
tags: ["World"]
---

# List the world's invite links (a co-builder)

`GET /api/v2/links`

## Request

- Base URL: `https://www.onlyworlds.com`
- URL: `https://www.onlyworlds.com/api/v2/links`
- Auth: one of:
  - API key in header `API-Key`
  - API key in header `API-Key` and API key in header `API-Pin`

Every link made for this world, by the owner or a co-builder, newest first, each with its state: the owner's list (GET /api/v2/account/worlds/{world_id}/links). No codes. A co-builder's key only, a person's or an AI seat's (with its account PIN or seat secret on a write): any other key, the owner's own world keys included, is 403 not_co_builder (the owner uses the account route, /api/v2/account/worlds/{world_id}/links).

## Response `200`

Every link made for the world, newest first, each with its state. No codes.

- object
  - `data` object[], required
    - `id` string, uuid, required: The link; DELETE it to revoke.
    - `reader` 'person' | 'agent' | 'player', required: Who the link is for: a person, who accepts it signed in (POST /api/v2/account/join); an AI, which redeems it for a seat (POST /api/v2/join); or a player, a friend with no account, who redeems it at POST /api/v2/join for a read key and reads as a guest.
    - `role` 'co_builder' | 'contributor' | 'guest', required
    - `label` string, required: The name given to an AI link, or empty.
    - `inviter_name` string, required: The name the link is signed with, or empty (the invite line then reads "Someone").
    - `with_character` boolean, required: Whether redeeming gives the AI a Character of its own. Always false on a person link, always true on a player link.
    - `visit` boolean, required: An AI link only: true when it is a visit, a seat that ends by itself 7 days after the AI joins. False on every other link.
    - `preview` boolean, required: Whether the link carries the world's id in its path (/join/{world_id}#code), so a link pasted in a chat unfurls with the world's name and picture; false for today's /join#code. Always false on an AI link.
    - `lands_on` 'site' | 'dashboard', required: Where the link opens: site, this site's /join page; dashboard, the Dashboard's /join page. Either takes the same code. Always site on an AI or player link.
    - `last4` string, required: The code's last four characters, to tell links apart.
    - `minted_by` string, uuid, nullable, required: The membership (its id in GET /api/v2/members) of the co-builder who minted the link over POST /api/v2/links; null for a link the owner made.
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `uses` integer, required: How many times the link was used: 0 or 1 for a link for one; a link that works several times (a table, or a person's link with max_uses) counts the members it made, removed ones included.
    - `status` 'pending' | 'used' | 'revoked' | 'expired', required: pending (still works), used, revoked or expired.
    - `character` object, nullable: A player's link: the Character the player reads as, {id, name}; null while a link for a fresh Character is unused (the one made at the door once it is). A person's link has this key only while it names a Character: the one the link names for its person, which the join sets if it is still free then; once used, the one its join set, and a link whose join could not set it has no such key. name is null if the Character was deleted (a player's link then makes a fresh one).
      - `id` string, uuid, required
      - `name` string, nullable, required
    - `max_uses` integer: A link that works several times (a table, or a person's link) only: how many times the link works. status is pending while uses < max_uses (and the link is neither revoked nor expired), used once full.
    - `characters` object[]: A table link only: the Characters its players may pick, in the order you picked them; empty when each player gets a fresh Character named after them. taken: a live seat in the world plays it. name is null if the Character was deleted.
      - `id` string, uuid, required
      - `name` string, nullable, required
      - `taken` boolean, required

## Other responses

- `401`: Missing, invalid or revoked credential, or a wrong PIN (authentication_error; code key_revoked for a revoked key, invalid_credentials otherwise).
- `403`: A read key on a write route (permission_error), or a key that is not a co-builder's: a contributor's, a guest's, a player's, or the owner's own keys (not_co_builder).
- `429`: Too many failed PIN attempts; see the Retry-After header (rate_limited). Or too many requests: over the request budget (code too_many_requests, type rate_limited): 300 requests a minute per key or account token, 60 a minute per address for a request with neither. Retry after the Retry-After header's seconds.
- `503`: The server is busy: every request slot stayed full for 10 s (code server_busy, type api_error). Retry after the Retry-After header's seconds.

## Changes

- **2026-12-01** `b198ddf8d445`: 1 info
  - added the required property `data/items/visit` to the response with the `200` status
- **2026-11-28** `e45847b3f48f`: 4 info
  - added the optional property `error/limit` to the response with the `401` status
  - added the optional property `error/limit` to the response with the `403` status
  - added the optional property `error/limit` to the response with the `429` status
  - added the optional property `error/limit` to the response with the `503` status
- **2026-11-26** `f921dd878e35`: 4 warning
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `401`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `403`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `429`
  - added the new `write_not_granted` enum value to the `error/code` response property for the response status `503`
- …earlier changes not shown

[Operation history](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/changes/api/v2/links/get.md)

---

[API](https://skmtc.dev/onlyworlds/apis/onlyworlds-api.md) - [All operations](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onlyworlds/apis/onlyworlds-api/revisions/6c819f2e4bbd?raw)
