---
title: "Получить карточки сделок кабинета"
method: GET
path: "/api/v1/crm/deals"
tags: ["CRM deals"]
---

# Получить карточки сделок кабинета

`GET /api/v1/crm/deals`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/crm/deals`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://erp.akeda.ru/oauth2/authorize`
    - Token URL: `https://erp.akeda.ru/oauth2/token` scopes: `akeda:delegate`

Фильтр по дополнительным полям: параметры cf.<ключ поля>=<значение>, до 10 полей. Число и флажок сравниваются по типу поля, вариант справочника - по идентификатору записи, текст - по подстроке без учёта регистра; поле, которого нет, отбирает ноль записей.

## Query parameters

- `q` string
- `owner` integer
- `pipeline` string, uuid
- `stage` string, uuid
- `customer` string, uuid
- `archived` boolean
- `sort` string
- `limit` integer
- `offset` integer

## Headers

- `X-Tenant` string, required

## Response `200`

Карточки сделок с именами клиента и ответственного

- CRMDealCard[]
  - CRMDealCard
    - [`CRMDeal`](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c/schema?at=%2Fcomponents%2Fschemas%2FCRMDeal)
    - object
      - `customer_name` string
      - `owner_name` string
      - `stage_since` string, date-time: Когда сделка встала на текущий этап; от этого момента считается норматив этапа
      - `pipeline_name` string: Воронка сделки; есть в кабинетном списке
      - `stage_name` string: Текущий этап сделки; есть в кабинетном списке
      - `stage_category` 'open' | 'won' | 'lost': Итог этапа: open — сделка в работе, won — выиграна, lost — проиграна. Выигранная сделка до закрытия не имеет closed_at, поэтому открытость определяется этим полем
      - `origin_pipeline_id` string, uuid: Воронка, из которой сделка пришла копией или переносом; есть на доске
      - `origin_pipeline` string: Название воронки, из которой пришла сделка
      - `origin_pipeline_label_key` string: Ключ подписи стартовой воронки, из которой пришла сделка
      - `origin_via` 'copy' | 'move': Как сделка пришла: copy — копией, move — переносом

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права

## Changes

- **2026-12-03** `c0d124ab6dd9`: 2 breaking, 3 info
  - added `#/components/schemas/UUID, subschema #1` to the `items/allOf[#/components/schemas/CRMDeal]/work_details/service_kind` response property `oneOf` list for the response status `200`
  - the `items/allOf[#/components/schemas/CRMDeal]/work_details/service_kind` response's property type changed from `string` to no type for status `200`
  - added the optional property `items/allOf[#/components/schemas/CRMDeal]/work_details/project_section` to the response with the `200` status
  - removed the `one_off` enum value from the `items/allOf[#/components/schemas/CRMDeal]/work_details/service_kind` response property for the response status `200`
  - …1 more
- **2026-12-01** `51c3f62bc042`: 1 info
  - added the optional property `items/allOf[#/components/schemas/CRMDeal]/work_details` to the response with the `200` status
- **2026-11-06** `29d99e7cdf53`: 5 info
  - added the optional property `items/allOf[#/components/schemas/CRMDeal]/source_deal_id` to the response with the `200` status
  - added the optional property `items/allOf[subschema #2]/origin_pipeline` to the response with the `200` status
  - added the optional property `items/allOf[subschema #2]/origin_pipeline_id` to the response with the `200` status
  - added the optional property `items/allOf[subschema #2]/origin_pipeline_label_key` to the response with the `200` status
  - …1 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/akeda/apis/akeda-erp-client-api/changes/api/v1/crm/deals/get.md)

---

[API](https://skmtc.dev/akeda/apis/akeda-erp-client-api.md) - [All operations](https://skmtc.dev/akeda/apis/akeda-erp-client-api/llms.txt) - [OpenAPI document](https://skmtc.dev/akeda/apis/akeda-erp-client-api/revisions/084f7bbc939c?raw)
