---
title: "Get Deals Updated"
method: GET
path: "/crm/deals/updated"
tags: ["CRM Service Calls"]
---

# Get Deals Updated

`GET /crm/deals/updated`

Retrieve deals/opportunities updated within a time window (default: last 4 hours).

Returns deals whose `updated_ts` falls within the specified date range. Captures stage
changes, value updates, or any other modifications. Defaults to last 4 hours.

**Time-based filtering (start_date / end_date):**

- Format: `YYYY-MM-DDTHH:MM:SSZ` or `YYYY-MM-DD`
- Default window (no params): last 4 hours

**Example requests:**

- Deals updated in the last 4 hours (default):
  `GET /deals/updated`
- Deals updated in the last 7 days:
  `GET /deals/updated?start_date=2026-03-22T00:00:00Z&end_date=2026-03-29T23:59:59Z`
- Closed-won deals updated this week:
  `GET /deals/updated?start_date=2026-03-24&match_filter_dict={"stage": "closed_won"}`

**Other Query Parameters:**

- **match_filter_dict** *(optional)*: JSON-encoded MongoDB filter for non-date fields.
  Filterable fields: `stage`, `marketing_source`, `value_of_sale`, `account_id`, `contact_id`.

**Response:** Array of deal objects (same schema as GET /deals).

## Query parameters

- `match_filter_dict` string
- `start_date` string, nullable — Start of date range in ISO 8601 format. Defaults to now − 4 hours.
- `end_date` string, nullable — End of date range in ISO 8601 format. Defaults to now.

## Response `200`

Successful Response

- DealResponse[]
  - `id` string, required
  - `name` string, required
  - `stage` string, required
  - `marketing_source` string, nullable
  - `agent_name` string, nullable
  - `agent_email` string, nullable
  - `agent_phone` string, nullable
  - `contact_name` string, nullable
  - `contact_email` string, nullable
  - `contact_phone` string, nullable
  - `account_name` string, nullable
  - `account_email` string, nullable
  - `product_dict_list` unknown[], nullable
    - unknown
  - `value_of_sale` string, nullable
  - `estimated_value_of_sale` string, nullable
  - `created_date` string, nullable
  - `updated_date` string, nullable
  - `expected_close_date` string, nullable
  - `close_date` string, nullable
  - `renewal_date` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/ambivo/apis/ambivo-api.md) · [All operations](https://skmtc.net/ambivo/apis/ambivo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ambivo/ambivo-api/versions/165a6d16a9a0/schema)
