---
title: "Get Availability Info"
method: GET
path: "/api/availability/info"
tags: ["availability"]
---

# Get Availability Info

`GET /api/availability/info`

Get availability info for both location types. **Requires authentication.**

Returns whether there are available slots for online and in-person appointments.
Use this endpoint to determine which location options to show in the UI.

- has_online_slots: True if there are available online slots
- has_in_person_slots: True if there are available in-person slots

## Query parameters

- `appointment_type` 'CALL_CONOSCITIVA' | 'CALL_GRATUITA' | 'CALL_SUPPORTO' | 'CALL_EXTRA' | 'INCONTRO_PSICOLOGO' | 'INCONTRO_NUTRIZIONISTA' | 'INCONTRO_CONGIUNTO', required — Appointment type constants.

## Response `200`

Successful Response

- AvailabilityInfoResponse — Response model for availability info by location type.
  - `appointment_type` string, required — Appointment type
  - `has_online_slots` boolean, required — True if there are available online slots
  - `has_in_person_slots` boolean, required — True if there are available in-person slots

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/corabea/apis/corabea-api.md) · [All operations](https://skmtc.dev/corabea/apis/corabea-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corabea/corabea-api/revisions/13c1bce1bdc4/schema)
