Skip to content

List Appointments

Required scope: appointment:read

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.

Generated Reference
POST /public-api/publicapi.v1.Appointment/ListAppointments

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.

Request ListAppointmentsRequest
Response ListAppointmentsResponse

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.
{
"fromUnix": "1788220800",
"toUnix": "1788307200",
"agendaId": "<agenda-id>",
"status": "PUBLIC_APPOINTMENT_STATUS_SCHEDULED",
"pageSize": 100
}