---
title: "Get removed/deleted items"
method: GET
path: "/crm/v1/entities/{entity}/trash"
tags: ["trash"]
---

# Get removed/deleted items

`GET /crm/v1/entities/{entity}/trash`

## Request

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

Returns a paginated list of items in the recycle bin for a specific entity type.
Example: `GET /crm/v1/entities/leads/trash?page=1&list=20`

## Query parameters

- `page` integer
- `list` integer

## Response `200`

Successful response

- object
  - `data` 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
  - `meta` Meta
    - `currentPage` integer
    - `from` integer
    - `lastPage` integer
    - `links` object[]
      - `url` string
      - `label` string
      - `active` boolean
    - `path` string
    - `perPage` integer
    - `to` integer
    - `total` integer

## 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)
