---
title: "List deals"
method: GET
path: "/deals"
tags: ["Deals"]
---

# List deals

`GET /deals`

Returns a paginated list of deals. Supports search and filtering.

## Query parameters

- `cursor` string — Cursor for pagination. Pass the previous response nextCursor value to fetch the next page.
- `limit` number — Number of items to return (max 100)
- `search` string — Search by deal title
- `pipelineId` string — Filter by pipeline public ID
- `stageId` string — Filter by stage public ID
- `status` 'ACTIVE' | 'WON' | 'LOST' — Filter by deal status (ACTIVE, WON, LOST)

## Response `200`

OK

- object
  - `items` object[], required
    - `id` string, required — Deal public ID
    - `number` string, nullable — Auto-generated deal number
    - `title` string, required — Deal title
    - `price` number, nullable — Deal price/value
    - `status` string, nullable — Deal status
    - `priority` string, nullable — Deal priority
    - `expectedCloseDate` string, date-time, nullable — Expected close date
    - `clientId` string, nullable — Client public ID
    - `pipelineId` string, nullable — Pipeline public ID
    - `stageId` string, nullable — Pipeline stage public ID
    - `sourceId` string, nullable — Deal source public ID
    - `leadId` string, nullable — Lead public ID
    - `createdAt` string, date-time, required — When the deal was created
    - `customFields` object, nullable — Custom field values
  - `nextCursor` string, nullable — Cursor to fetch the next page. Null if there are no more results.
  - `hasMore` boolean, required — Whether additional results are available

---

[API](https://skmtc.net/heffl/apis/heffl-api-v2-beta.md) · [All operations](https://skmtc.net/heffl/apis/heffl-api-v2-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/heffl/heffl-api-v2-beta/revisions/27006cfef4d8/schema)
