---
title: "Get related entity items"
method: GET
path: "/crm/v1/entities/{entity}/{itemId}/related/{entity_code}"
tags: ["items"]
---

# Get related entity items

`GET /crm/v1/entities/{entity}/{itemId}/related/{entity_code}`

## Request

- Base URL: `https://{domain}.uspacy.ua`
- URL: `https://{domain}.uspacy.ua/crm/v1/entities/{entity}/{itemId}/related/{entity_code}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/uspacy/apis/crm-service-2/docs/crm/v1/entities/:entity/:itemId/related/:entity_code/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns entity items related to the given entity item. For example, get all deals related to a contact.
Example: `GET /crm/v1/entities/contacts/14/related/deals`

## Response `200`

Successful response

- CrmEntity[]
  - `title` string
  - `owner` integer
  - `source` string
  - `email` object[]
    - `id` string
    - `type` string
    - `value` string
    - `main` boolean
  - `phone` object[]
    - `id` string
    - `type` 'WORK' | 'MOBILE' | 'HOME'
    - `value` string
    - `code` string
  - `messengers` object[]
    - `id` string
    - `type` string
    - `link` string

## Other responses

- `401`: Access token is missing or invalid

---

[API](https://skmtc.dev/uspacy/apis/crm-service-2.md) - [All operations](https://skmtc.dev/uspacy/apis/crm-service-2/llms.txt) - [OpenAPI document](https://skmtc.dev/uspacy/apis/crm-service-2/revisions/f80578d43845?raw)
