Lists appointments overlapping a required time window. fromUnix and toUnix
are Unix seconds and must be positive with toUnix after fromUnix; the window
may not exceed 400 days. Narrow results with the optional agendaId,
memberId, customerId, and status filters.
Appointments come earliest first, pageSize (1 to 100, default 100) at a time.
When nextCursor is set (and hasMore is true), send it back as cursor with
the same window and filters for the next page. Reading another member’s schedule requires broad calendar
visibility; without it, filtering by that member is denied.
Lists appointments whose scheduled start falls inside a required time window, earliest first, with optional agenda, member, customer and status filters. Pages with page_size (default and max 100) and cursor: pass next_cursor back until it is empty; has_more is set alongside it.
RequestListAppointmentsRequest
ResponseListAppointmentsResponse
ListAppointmentsRequest
Field
Type
Description
from_unix
int64
Inclusive lower bound (unix seconds) on scheduled start. Required so every query is bounded to a finite window.
to_unix
int64
Exclusive upper bound (unix seconds) on scheduled start. Must be greater than from_unix; the window may not exceed 400 days.
agenda_id
optional string
Restrict to one agenda.
member_id
optional string
Restrict to one assigned member; another member's schedule requires scheduling read access.
customer_id
optional string
Restrict to one customer.
status
optional AppointmentStatus
Restrict to one status.
page_size
int32
Appointments per page, 1-100; zero uses 100. When more matched, has_more is set and next_cursor reads the next page.
cursor
string
Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.
ListAppointmentsResponse
Field
Type
Description
appointments
repeated Appointment
One page of appointments in the requested window.
has_more
bool
True when more appointments follow; next_cursor reads them.
next_cursor
string
Pass as cursor to read the next page. Empty on the last page.
Related Types
Appointment
Field
Type
Description
id
string
Appointment identifier.
customer_id
string
Customer the appointment is booked for.
agenda_id
string
Agenda the appointment belongs to.
appointment_type_id
string
Appointment type applied to the appointment.
assigned_member_id
string
Member currently assigned, or empty when unassigned.
scheduled_start_at
int64
Scheduled start as unix seconds.
scheduled_end_at
int64
Scheduled end as unix seconds.
duration_minutes
int32
Scheduled duration in minutes.
status
AppointmentStatus
Current lifecycle status.
notes
string
Free-text notes stored on the appointment.
created_at
int64
Unix seconds when the appointment was created.
updated_at
int64
Unix seconds when the appointment was last updated.