Skip to content

List Customer Appointments

Required scope: appointment:read

Deprecated: use List Appointments with customerId and a time window instead.

Lists the appointments for one customer, newest first. Requires read access to that customer. Without pageSize the first 100 return; when nextCursor is set, send it back as cursor for the next page.

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

Deprecated: use ListAppointments with customer_id and a time window. Lists visible appointments for one customer, newest scheduled first. Without page_size the first 100 return with a next_cursor when more exist.

Request ListCustomerAppointmentsRequest
Response ListCustomerAppointmentsResponse

ListCustomerAppointmentsRequest

Field Type Description
customer_id string Customer whose appointments are listed.
page_size int32 Rows per page, 1 to 100. Zero uses 100. Without page_size the first 100 return with a next_cursor when more exist.
cursor string Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row.

ListCustomerAppointmentsResponse

Field Type Description
appointments repeated Appointment The customer's appointments.
next_cursor string Pass as cursor to read the next page. Empty on the last page.
{
"customerId": "<customer-id>"
}