---
title: "This endpoint provides a list of LinkTypes, it can be paginated with the pagination=true parameter"
method: GET
path: "/link-types"
tags: ["Data Model"]
---

# This endpoint provides a list of LinkTypes, it can be paginated with the pagination=true parameter

`GET /link-types`

Retrieves the collection of LinkType resources.

## Query parameters

- `page` integer
- `limit` integer
- `pagination` boolean
- `order[priority]` 'asc' | 'desc'
- `order[id]` 'asc' | 'desc'
- `id` string
- `id[]` string[]
- `catalogs.id` string
- `catalogs.id[]` string[]
- `origin.objectType` string
- `origin.objectType[]` string[]
- `origin.documentType.id` string
- `origin.documentType.id[]` string[]
- `target.objectType` string
- `target.objectType[]` string[]
- `target.documentType.id` string
- `target.documentType.id[]` string[]
- `order[origin]` 'asc' | 'desc'
- `order[target]` 'asc' | 'desc'
- `search` string
- `order[name]` 'asc' | 'desc'
- `name` string
- `name[]` string[]

## Response `200`

LinkType collection

- LinkTypeLinkTypeOutputLinkTypeOutput[]
  - `legacyId` integer
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `priority` integer — This defines the priority of the link.
  - `maxItems` integer, nullable — This defines the maximum number of items that will be accepted while creating links. If null, an infinite number of items will be accepted.
  - `origin` LinkTypeOriginRelationOutputLinkTypeOutput
    - `objectType` 'document' — This defines the linked object type
    - `documentType` DocumentTypeLinkTypeOutput
      - `id` string, required — This is the unique identifier of the resource
  - `target` LinkTypeTargetRelationOutputLinkTypeOutput
    - `objectType` 'asset' | 'document' — This defines the linked object type
    - `documentType` DocumentTypeLinkTypeOutput
      - `id` string, required — This is the unique identifier of the resource
  - `status` string
  - `dateCreated` string, date-time, nullable — This is an ISO datetime
  - `dateModified` string, date-time, nullable — This is an ISO datetime
  - `maxCountLinksByOrigin` integer
  - `id` string — This is the unique identifier of the resource

---

[API](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.net/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/versions/1641096abb34/schema)
