---
title: "Get Contacts Created"
method: GET
path: "/crm/contacts/created"
tags: ["CRM Service Calls"]
---

# Get Contacts Created

`GET /crm/contacts/created`

Retrieve contacts created within a time window (default: last 4 hours).

Returns contacts whose `created_ts` falls within the specified date range. If neither
`start_date` nor `end_date` is provided, defaults to a rolling 4-hour window ending at
the current UTC time.

**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:**

- Contacts created in the last 4 hours (default):
  `GET /contacts/created`
- Contacts created in the last 7 days:
  `GET /contacts/created?start_date=2026-03-22T00:00:00Z&end_date=2026-03-29T23:59:59Z`
- Google contacts created since March 1st:
  `GET /contacts/created?start_date=2026-03-01&match_filter_dict={"lead_source": "Google"}`

**Other Query Parameters:**

- **match_filter_dict** *(optional)*: JSON-encoded MongoDB filter for non-date fields.
  Filterable fields: `status`, `lead_source`, `name`, `tags`, `employer_name`,
  `profession`, `title`.

**Response:** Array of contact objects (same schema as GET /contacts).

## 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

- ContactResponse[]
  - `id` string, required
  - `phone_list` unknown[], nullable, required
    - unknown
  - `email_list` unknown[], nullable, required
    - unknown
  - `first_name` string, nullable, required
  - `last_name` string, nullable, required
  - `name` string, required
  - `status` string, required
  - `marketing_source` string, nullable
  - `created_date` string, nullable, required
  - `updated_date` string, nullable, required
  - `status_updated_date` string, nullable, required
  - `tags` string[], nullable
  - `social_dict_list` object[], 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)
