---
title: "Get All Available Slots"
method: GET
path: "/api/_citas/slots/disponibles"
tags: ["scheduling", "appointments_citas"]
---

# Get All Available Slots

`GET /api/_citas/slots/disponibles`

## 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/slots/disponibles`
- Auth: none declared
- TypeScript: <https://skmtc.dev/hogarsolar/apis/hogarsolar-backend-api/docs/api/_citas/slots/disponibles/get.ts> (a function with typed inputs; its response is checked against the schema)

Busca en todos los comerciales y devuelve una lista unificada de todos los
huecos disponibles, filtrando por modalidad (visita/llamada) y provincia.

Query parameters (validados por Pydantic):
- day: Fecha de la cita
- cp: Código postal de 5 dígitos (requerido)
- tipo: Tipo de cita (default: "visita")
- contact_id: ID del contacto en HubSpot (opcional)

## Query parameters

- `day` string, date, required
- `cp` string, required
- `tipo` string
- `contact_id` string, nullable

## Response `200`

Successful Response

- object[]

## 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/1dc9ad769f97?raw)
