---
title: "Lista de entidades vinculadas"
method: GET
path: "/api/v4/{entity}/{entity_id}/links"
---

# Lista de entidades vinculadas

`GET /api/v4/{entity}/{entity_id}/links`

Este método permite obtener una lista de entidades vinculadas a un lead/contacto/compañía mediante el ID del lead, contacto o compañía.

## Path parameters

- `entity` 'leads' | 'contacts' | 'companies', required
- `entity_id` integer, required

## Query parameters

- `filter[to_entity_id]` integer
- `filter[to_entity_type]` 'leads' | 'contacts' | 'companies' | 'catalog_elements'
- `filter[to_catalog_id]` integer

## Response `200`

200

- object
  - `_total_items` integer
  - `_links` object
    - `self` object
      - `href` string
  - `_embedded` object
    - `links` object[]
      - `to_entity_id` integer
      - `to_entity_type` string
      - `metadata` object
        - `quantity` integer
        - `catalog_id` integer

## Other responses

- `400` — 400
- `401` — 401

---

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