---
title: "Get Contact Deals"
method: GET
path: "/api/citas/previsualizacion/contact-deals"
tags: ["copilot_frontend", "previsualizacion_copilot"]
---

# Get Contact Deals

`GET /api/citas/previsualizacion/contact-deals`

## Request

- Base URL: `https://api.hogarsolar.es` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hogarsolar.es/api/citas/previsualizacion/contact-deals`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/citas/previsualizacion/contact-deals/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `email` string, required

## Response `200`

Successful Response

- ContactDealsResponse
  - `contact_id` string, required
  - `contact_name` string, required
  - `contact_email` string, required
  - `provincia` string, required
  - `cita_app_previsualizacion` string, nullable
  - `deals` DealInfo[], required
    - `id` string, required
    - `name` string, required
    - `fecha_previsualizacion` string, nullable
    - `tiene_cita_existente` boolean, required
    - `createdate` string, nullable
  - `comerciales_disponibles` string[], required
  - `firstname` string, nullable
  - `lastname` string, nullable
  - `phone` string, nullable
  - `address` string, nullable
  - `city` string, nullable
  - `zip` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api.md) - [All operations](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/revisions/b4cc3cebfaaa?raw)
