availability

Get Availability Info

Changed on

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
get/api/availability/info

Request

  • Base URL: https://api.corabea.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.corabea.it/api/availability/info
  • Auth: HTTP bearer

Query parameters

appointment_type'CALL_CONOSCITIVA' | 'CALL_GRATUITA' | 'CALL_SUPPORTO' | 'CALL_EXTRA' | 'INCONTRO_PSICOLOGO' | 'INCONTRO_NUTRIZIONISTA' | 'INCONTRO_CONGIUNTO' | 'BIA' required

Appointment type constants.

Response

Successful Response

appointment_typestring required

Appointment type

has_online_slotsboolean required

True if there are available online slots

has_in_person_slotsboolean required

True if there are available in-person slots

Example response

{
  "appointment_type": "CALL_CONOSCITIVA",
  "has_in_person_slots": false,
  "has_online_slots": true
}

Changes