---
title: "List document's links"
method: GET
path: "/documents/{documentId}/links"
tags: ["Documents"]
---

# List document's links

`GET /documents/{documentId}/links`

List the uploaded links for a document.

## Path parameters

- `documentId` string, required

## Query parameters

- `pageSize` integer — Controls the maximum number of items returned in one response from the API.
- `pageCursor` string — A marker or pointer, telling the API where to start fetching items for the subsequent page in a paginated dataset. Note that the requested page will not include the item that corresponds to this cursor but will start from the one immediately after this cursor.

## Response `200`

Ok

- PaginatedResponseUploadedLink
  - `results` object, required
    - `data` UploadedLink[], required
      - `id` string, required — The link's unique ID
      - `creationDate` string, date-time, required — The link's creation date.
      - `effectiveDate` string, date-time, nullable, required — The link's effective date.
      - `title` string, required — The link's title.
      - `url` string, required — The link's URL.
      - `description` string, required — The link's description.
    - `pageInfo` PageInfo, required — Provides information about the pagination of a dataset.
      - `endCursor` string, nullable, required — The cursor that points to the end of the current page, or null if there is no such cursor.
      - `hasNextPage` boolean, required — Indicates if there is another page after the current page.
      - `hasPreviousPage` boolean, required — Indicates if there is a page before the current page.
      - `startCursor` string, nullable, required — The cursor that points to the start of the current page, or null if there is no such cursor.

---

[API](https://skmtc.net/vanta/apis/build-integrations.md) · [All operations](https://skmtc.net/vanta/apis/build-integrations/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vanta/build-integrations/revisions/6c1f7590538b/schema)
