---
title: "Get Customer List"
method: GET
path: "/api/customers/"
tags: ["customers"]
---

# Get Customer List

`GET /api/customers/`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/customers/`
- Auth: none declared

## Query parameters

- `q` string, nullable
- `page` integer
- `page_size` integer
- `has_deals` boolean
- `has_quotes` boolean
- `has_proposals` boolean
- `has_sold` boolean

## Response `200`

OK

- CustomerListResponseSchema
  - `items` CustomerListItemSchema[], required
    - `id` integer, required
    - `name` string, nullable
    - `email` string, nullable
    - `phone` string, nullable
    - `latest_deal_address` string, nullable
    - `deal_count` integer, required
    - `quote_count` integer, required
    - `proposal_count` integer, required
    - `sold_quote_count` integer, required
  - `total` integer, required
  - `page` integer, required
  - `page_size` integer, required
  - `total_pages` integer, required

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
