{"message":"Hiranandani Hospital API","endpoints":[{"path":"/v1/hiranandani-hospital/call-info","method":"GET","description":"AI call assistant API (main endpoint with filters)"},{"path":"/v1/hiranandani-hospital/all-doctors","method":"GET","description":"Get a list of all doctors with their department, speciality, and location."},{"path":"/v1/hiranandani-hospital/all-departments","method":"GET","description":"Get a list of all unique departments and their associated locations."},{"path":"/v1/hiranandani-hospital/all-specialities","method":"GET","description":"Get a list of all unique specialities."},{"path":"/v1/hiranandani-hospital/all-locations","method":"GET","description":"Get a list of all unique hospital locations."},{"path":"/v1/hiranandani-hospital/doctors/by-name?name=...","method":"GET","description":"Search doctors by partial name, sorted by name"},{"path":"/v1/hiranandani-hospital/doctors/by-department/:departmentName","method":"GET","description":"Get all doctors in a specific department"},{"path":"/v1/hiranandani-hospital/doctors/by-speciality/:speciality","method":"GET","description":"Get all doctors by a specific speciality"},{"path":"/v1/hiranandani-hospital/doctors/by-location/:locationName","method":"GET","description":"Get all doctors by a specific location (e.g., Thane, Powai)"},{"path":"/v1/hiranandani-hospital/appointments/available-dates","method":"GET","description":"Get available dates from JSON availability array"},{"path":"/v1/hiranandani-hospital/appointments/available-slots","method":"GET","description":"Get time slots for a specific date from JSON"},{"path":"/v1/hiranandani-hospital/appointments/list?phoneNumber=...","method":"GET","description":"List upcoming appointments for a user (Original path)"},{"path":"/v1/hiranandani-hospital/appointments/cancel","method":"POST","description":"Cancel an appointment (Original path - Requires JSON body)"},{"path":"/v1/hiranandani-hospital/appointments/reschedule","method":"POST","description":"Reschedule an appointment (Original path - Requires JSON body)"},{"path":"/hms/admin","method":"GET","description":"HMS admin web UI (HTML)."},{"path":"/hms/appointments/:appointmentId/cancel","method":"POST","description":"HMS admin cancel action that also notifies OutCaller."},{"path":"/hms/appointments/:appointmentId/reschedule","method":"POST","description":"HMS admin reschedule action that also notifies OutCaller."},{"path":"/hms/appointments/:appointmentId/doctor-unavailable","method":"POST","description":"Mark a doctor as unavailable for a booked slot and notify OutCaller."},{"path":"/hms/webhooks/slot-change","method":"POST","description":"Inbound slot-change webhook from OutCaller or hospital automation."},{"path":"/v1/hiranandani-hospital/check-registration?phone=...","method":"GET","description":"AI Tool: Check if patient is registered (returns UHID)."},{"path":"/v1/hiranandani-hospital/register-patient","method":"POST","description":"AI Tool: Register a new patient (returns new UHID)."},{"path":"/v1/hiranandani-hospital/locations","method":"GET","description":"AI Tool: Get all available hospital locations."},{"path":"/v1/hiranandani-hospital/specializations","method":"GET","description":"AI Tool: Get all available specializations."},{"path":"/v1/hiranandani-hospital/doctors?specialization=...","method":"GET","description":"AI Tool: Get doctors filtered by specialization."},{"path":"/v1/hiranandani-hospital/date-slots?doctor=...","method":"GET","description":"AI Tool: Get available appointment dates."},{"path":"/v1/hiranandani-hospital/time-slots?doctor=...&date=...","method":"GET","description":"AI Tool: Get available appointment time slots."},{"path":"/v1/hiranandani-hospital/confirm-appointment","method":"POST","description":"AI Tool: Confirm and book the appointment."},{"path":"/v1/hiranandani-hospital/appointments?phone=...","method":"GET","description":"AI Tool: List upcoming appointments (Simplified path)."},{"path":"/v1/hiranandani-hospital/cancel-appointment","method":"POST","description":"AI Tool: Cancel an appointment (Simplified path)."},{"path":"/v1/hiranandani-hospital/reschedule-appointment","method":"POST","description":"AI Tool: Reschedule an appointment (Simplified path)."},{"path":"/v1/hiranandani-hospital/payments/generate-link","method":"POST","description":"Generate payment link post-consultation."},{"path":"/v1/hiranandani-hospital/payments/status","method":"GET","description":"Check status of a bill or payment."},{"path":"/v1/hiranandani-hospital/pharmacy/prescribe","method":"POST","description":"HMS: Submit new prescription to pharmacy."},{"path":"/hms/pharmacy/prescriptions","method":"GET","description":"HMS: View pharmacy queue."},{"path":"/hms/pharmacy/prescriptions/:prescriptionId/review","method":"POST","description":"HMS: Approve or reject a pharmacy prescription and notify OutCaller."},{"path":"/v1/hiranandani-hospital/pharmacy/compliance-check","method":"GET","description":"AI: Check patient medication history/compliance."},{"path":"/v1/hiranandani-hospital/delivery/check-status","method":"GET","description":"AI: Check medicine delivery status for patient."},{"path":"/health","method":"GET","description":"Health check"}],"queryParameters":{"day":"Filter by day (e.g., Monday, Tuesday). Matches any day string containing the value.","time_hint":"Filter by time (e.g., \"5:00 pm\", \"17:00\"). Returns doctors available at that time.","require_available":"Set to \"true\" to only return doctors with availability (opd_hours).","seniority":"Filter by seniority (e.g., \"senior\").","doctor_name":"Filter by doctor name (partial match).","department":"Filter by department name."}}