---
title: "List links (paginated)"
method: POST
path: "/links/paginated"
tags: ["Links"]
---

# List links (paginated)

`POST /links/paginated`

## Request

- Base URL: `https://api.databuddy.cc`
- URL: `https://api.databuddy.cc/links/paginated`
- Auth: API key in header `x-api-key`

Returns a page of links for the organization with server-side search, sort, type filter, and offset pagination. Set includeTotal only when an exact filtered count is needed. Requires read:links scope.

## Request body

- object
  - `organizationId` string
  - `externalId` string
  - `folderId` string, nullable
  - `sourceType` string
  - `sourceId` string
  - `sourceOwnerId` string
  - `targetDomain` string
  - `includeTotal` boolean
  - `limit` integer
  - `offset` integer
  - `search` string
  - `sort` 'newest' | 'oldest' | 'name-asc' | 'name-desc'
  - `type` 'all' | 'short' | 'deep'

## Response `200`

OK

- object
  - `items` object[], required
    - `id` string, required
    - `organizationId` string, required
    - `createdBy` string, nullable, required
    - `folderId` string, nullable, required
    - `slug` string, required
    - `name` string, required
    - `targetUrl` string, required
    - `targetDomain` string, nullable, required
    - `sourceType` string, nullable, required
    - `sourceId` string, nullable, required
    - `sourceOwnerId` string, nullable, required
    - `expiresAt` string, date-time, nullable, required
    - `expiredRedirectUrl` string, nullable, required
    - `ogTitle` string, nullable, required
    - `ogDescription` string, nullable, required
    - `ogImageUrl` string, nullable, required
    - `ogVideoUrl` string, nullable, required
    - `iosUrl` string, nullable, required
    - `androidUrl` string, nullable, required
    - `externalId` string, nullable, required
    - `deepLinkApp` string, nullable, required
    - `deletedAt` string, date-time, nullable, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `hasMore` boolean, required
  - `total` integer

## Other responses

- `400`: 400
- `401`: 401
- `402`: 402
- `403`: 403
- `404`: 404
- `409`: 409
- `429`: 429
- `500`: 500
- `503`: 503

---

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