---
title: "GET /crm/deals"
method: GET
path: "/crm/deals"
tags: ["CrmDeal"]
---

# GET /crm/deals

`GET /crm/deals`

Get all the deals

## Query parameters

- `fields` string, nullable
- `pageSize` string, nullable
- `cursor` string, nullable
- `associations` string, nullable

## Response `200`

- CrmGetDealsResponse
  - `status` 'ok' | 'error', required
  - `next` string, nullable
  - `previous` string, nullable
  - `results` CommonDeal[], required
    - `id` string, required — The unique `id` of this object in Revert
    - `remoteId` string, required — The unique `id` of this object in the downstream CRM.
    - `createdTimestamp` unknown, required
    - `updatedTimestamp` unknown, required
    - `additional` unknown
    - `amount` integer, required — The deal amount mentioned in the CRM for this deal.
    - `priority` string, nullable — The priority attached to this deal. (not supported by pipedrive)
    - `stage` string, required — Deal stage in the CRM.
    - `name` string, required — The name of the deal in a CRM.
    - `expectedCloseDate` unknown, required
    - `isWon` boolean, required — Is `true` if the deal is closed (won).
    - `probability` integer, required — Probability of the deal getting closed, a decimal number between 0 to 1 (inclusive).

## Other responses

- `401`
- `404`
- `500`

## Changes

- **2024-07-14** `cf779cee9aed` — 1 info
  - added the new optional `query` request parameter `associations`
- **2024-03-04** `52cc79f75cb0` — 1 warning
  - deleted the `query` request parameter `associations`

[Change history](https://skmtc.dev/revertinc/apis/revert-api/changes/crm/deals/get.md)

---

[API](https://skmtc.dev/revertinc/apis/revert-api.md) · [All operations](https://skmtc.dev/revertinc/apis/revert-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/revertinc/revert-api/revisions/698ea54a2330/schema)
