Next Appointment
next_appointmentFinds the single next available appointment slot a user can reserve, excluding full or already-booked times, and returns it as a calendar event or empty array.
Instructions
Get the single next open time slot the current user is still eligible to sign up for, searched across every appointment group the user can reserve in (or only the appointment_group_ids you pass), and return it as a one-element array of calendar-event objects — or an empty array if nothing is open. This is about availability, not history: it excludes slots the user already reserved and slots that are full, but does not exclude a whole group just because the user holds a reservation in one of its other slots. Use list_appointment_groups with scope="reservable" to browse every open group instead of just the next slot, and list_appointment_group_users to see existing reservations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appointment_group_ids | No | Limit to specific appointment group IDs |