---
title: "List the owner's active bookmark and note links"
method: GET
path: "/personal/users/{userId}/share-links"
tags: ["resource-sharing"]
---

# List the owner's active bookmark and note links

`GET /personal/users/{userId}/share-links`

## Request

- Base URL: `http://localhost:3000/api`
- URL: `http://localhost:3000/api/personal/users/{userId}/share-links`
- Auth: HTTP bearer

## Path parameters

- `userId` string, required

## Query parameters

- `page` integer
- `limit` integer

## Response `200`

Active links without bearer-token credentials

- ShareLinkList
  - `items` ShareLinkListItem[], required
    - `shareLinkId` string, required
    - `resourceType` 'bookmark' | 'note', required
    - `resourceId` string, required
    - `title` string, required
    - `public` boolean, required
    - `createdAt` string, date-time, required
  - `page` integer, required
  - `limit` integer, required
  - `total` integer, required

## Other responses

- `400`: Bad request, validation errors
- `401`: unauthorized (you need to have a valid token) and userId must match the subject in token

## Changes

- **2026-10-25** `6aa109656c66`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/codeverdotdev/apis/codever-api/changes/personal/users/:userId/share-links/get.md)

---

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