---
title: "List all deals"
method: GET
path: "/crm/{connection_id}/deal"
tags: ["crm", "deal"]
---

# List all deals

`GET /crm/{connection_id}/deal`

## Path parameters

- `connection_id` string, required

## Query parameters

- `limit` number
- `offset` number
- `updated_gte` string
- `sort` string
- `order` string
- `query` string
- `company_id` string
- `contact_id` string
- `user_id` string
- `pipeline_id` string
- `fields` string[]
- `raw` string

## Response `200`

Successful

- CrmDeal[]
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `amount` number
  - `currency` string
  - `closed_at` string, date-time
  - `closing_at` string, date-time
  - `stage` string
  - `stage_id` string
  - `pipeline` string
  - `pipeline_id` string
  - `stages` CrmReference[]
    - `id` string
    - `name` string
    - `type` string
  - `pipelines` CrmReference[]
    - `id` string
    - `name` string
    - `type` string
  - `source` string
  - `probability` number
  - `tags` string[]
  - `lost_reason` string
  - `won_reason` string
  - `user_id` string
  - `contact_ids` string[]
  - `company_ids` string[]
  - `metadata` CrmMetadata[]
    - `id` string
    - `slug` string
    - `value` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
    - `namespace` string
    - `format` 'TEXT' | 'NUMBER' | 'DATE' | 'BOOLEAN' | 'FILE' | 'TEXTAREA' | 'SINGLE_SELECT' | 'MULTIPLE_SELECT' | 'MEASUREMENT' | 'PRICE' | 'YES_NO' | 'CURRENCY' | 'URL'
    - `extra_data` union
      - object
      - string
      - number
      - boolean
      - union[]
        - union
          - object
          - string
          - number
          - boolean
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/021e9b45420a/schema)
