---
title: "List all document links"
method: GET
path: "/document_links"
tags: ["Documents"]
---

# List all document links

`GET /document_links`

List all documents links ordered by created_at descending.

## Query parameters

- `filter` object
  - `linked_record_type` string — The linked_record_type of the document to filter on.
  - `linked_resource_id` string, uuid — The linked_resource_id of the document to filter on.
- `page` object
  - `size` integer — The size of the page
  - `number` integer — The page number to load

## Response `200`

Successful response

- object
  - `data` DocServiceDocumentLink[]
    - `id` string, uuid — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `created_at` string — ISO 8601 formatted date-time indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date-time indicating when the resource was updated.
    - `document_id` string, uuid — Identifies the associated document.
    - `linked_record_type` string — The linked resource's record type.
    - `linked_resource_id` string — Identifies the linked resource.
  - `meta` PaginationMeta
    - `total_pages` integer
    - `total_results` integer
    - `page_number` integer
    - `page_size` integer

## Other responses

- `422` — Unprocessable entity. Check the 'detail' field in response for details.
- `default` — Unexpected error

---

[API](https://skmtc.net/team-telnyx/apis/telnyx-api-2.md) · [All operations](https://skmtc.net/team-telnyx/apis/telnyx-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/team-telnyx/telnyx-api-2/versions/8f5f4e537994/schema)
