Skip to content
1 viewer
View

Schedule reference

9 pages, 87 routes, 75 connections and 22 CLI commands, generated from the declarations of Schedule without reading storage or running anything.

AboutCode

Code · 0 files

No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.

Pages · 11

Declared views
PageView idRoleRouteOrderParentEntityNavigation
My bookingsschedule.customercustom/view/schedule/my-bookings0in navigation
Schedulingschedule.consolecustom/view/schedule/scheduling/{owner_id}20hidden
Practiceschedule.practicecustom/view/schedule/practice/{practice_id}30hidden
Calendarschedule.my_calendarcustom/view/schedule/calendar60in navigation
Agendaschedule.agenda/view/schedule/agendain navigation
Pick a timeschedule.book/view/schedule/meet/{owner_id}/{slug}in navigation
Your bookingschedule.booking/view/schedule/booking/{manage_token}in navigation
Scheduleschedule.calendar/view/schedule/calendarin navigation
Meetschedule.directory/view/schedule/meetin navigation
Book timeschedule.host/view/schedule/meet/{owner_id}in navigation
Book an appointmentschedule.practice.book/view/schedule/appointments/{practice_slug}in navigation
11 rows

Connections · 75

Booking.Approve

Owner-only: approve a booking request. Confirms it, or opens checkout when an online price is due.

Booking.Approve input
FieldTypeRequiredDescriptionAllowed
booking_idstringoptional
1 row
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/approveHTTP route

Booking.AttestOutcome

Store one immutable Passport-bound post-appointment attestation. Pairing reveals the two statements and returns manual Time, Location, and Ballot proposals; it never commits them or moves money.

Booking.AttestOutcome input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
attendedrequired
witnessed_minutesrequired
value_to_selfrequired
value_to_otherrequired
value_of_placerequired
would_meet_againrequired
outcome_placeoptional
outcome_noteoptional
10 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/outcome/attestHTTP route

Booking.Book

Book a currently offered appointment. Optional purchased package references redeem one session instead of opening checkout.

Booking.Book input
FieldTypeRequiredDescriptionAllowed
owner_idstringrequired
slugstringrequired
start_ts_msintegerrequired
invitee_namestringrequired
invitee_emailstringrequired
session_order_idstringoptional
session_order_item_idstringoptional
7 rows
Calls and output

Booking.CancelBooking

Cancel a booking from its manage token (invitee) or its id (host), freeing the slot. A group slot's reservation is only released once the last live invitee leaves.

Booking.CancelBooking input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
2 rows
Calls and output

Booking.Checkout

Open (or re-open) a provider checkout session for a held booking — the "I closed the tab" path. Restarts the hold window and returns a fresh pay link. Refuses a booking that is already paid, so nobody is charged twice.

Booking.Checkout input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
2 rows
Calls and output

Booking.Claim

Save a guest appointment using its private manage token. Does not change payment or appointment status.

Booking.Claim input
FieldTypeRequiredDescriptionAllowed
manage_tokenstringrequired
1 row
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/claimHTTP route

Booking.Decline

Owner-only: decline a booking request, freeing its seat. The reason is shown to the invitee.

Booking.Decline input
FieldTypeRequiredDescriptionAllowed
booking_idstringoptional
reasonstringoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/declineHTTP route

Booking.DefineType

Create or edit a public, Passport-gated, or allowlisted appointment agreement at /view/schedule/meet/{owner}/{slug} — audience, duration, interval, buffers, notice, daily cap, capacity, horizon, host timezone, location, fixed price, payment rail or payment_mode=at_visit (confirmed now, collected in person), a private notify_email host alert, the public organizer_name/organizer_email invites are sent under, a booking_page_url for rebooking links, and invitee questions. Requires the owner's verified Passport session. Re-defining the same (owner_id, slug) edits in place; omitted fields keep their current value.

Booking.DefineType input
FieldTypeRequiredDescriptionAllowed
owner_idrequired
slugrequired
titleoptional
audienceoptional
allowed_account_idsoptional
payment_modeoptional
notify_emailoptional
organizer_nameoptional
organizer_emailoptional
booking_page_urloptional
10 rows
Calls and output

Booking.ExpireHolds

Release checkout holds whose window closed unpaid, freeing their slots. The slot and booking paths already sweep lazily; this forces it.

Calls and output

Booking.GetOutcome

Read the authenticated participant's appointment outcome. Peer ratings stay sealed until both host and invitee attest.

Booking.GetOutcome input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /booking/outcomeHTTP route

Booking.GetType

Fetch one booking type by (owner_id, slug) or booking_type_id.

Booking.GetType input
FieldTypeRequiredDescriptionAllowed
owner_idrequired
slugrequired
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /booking/type/getHTTP route

Booking.Ics

The iCalendar (RFC 5545) invite for one booking, addressed by its manage token.

Booking.Ics input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /booking/icsHTTP route

Booking.ListBookings

List bookings with optional owner / type filters and an upcoming-only flag.

Booking.ListBookings input
FieldTypeRequiredDescriptionAllowed
owner_idoptional
1 row
Calls and output

Booking.ListTypes

List public booking types, optionally for one owner.

Booking.ListTypes input
FieldTypeRequiredDescriptionAllowed
owner_idoptional
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /booking/typesHTTP route

Booking.MarkAttendance

Owner-only: record a started visit as completed or no_show.

Booking.MarkAttendance input
FieldTypeRequiredDescriptionAllowed
booking_idstringoptional
statusstringoptionalcompleted or no_show
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/mark_attendanceHTTP route

Booking.MessagePreferences

Read or set which appointment messages a customer gets from one practice: reminders, care follow-up, no-show follow-up, by email and by inbox. The manage link sets them for its own visit only; with a booking id, the owner's verified session sets them for that customer's visits and the account the visit was booked under sets them for its own visits. A send goes out only while every one of those records allows it. Turning something off withdraws its pending sends, which turning it on again does not restore. Sales opt-outs are never read or changed.

Booking.MessagePreferences input
FieldTypeRequiredDescriptionAllowed
manage_tokenstringoptional
booking_idstringoptional
remindersbooleanoptional
care_follow_upbooleanoptional
no_show_follow_upbooleanoptional
by_emailbooleanoptional
by_inboxbooleanoptional
7 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/message-preferencesHTTP route

Booking.MyBookings

List appointments saved to the current authenticated account; input cannot select another customer.

Booking.MyBookings input
FieldTypeRequiredDescriptionAllowed
bucketstringoptionalupcoming, history or all
offsetintegeroptional
limitintegeroptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /booking/mineHTTP route

Booking.Override

Set a single-day exception across every booking type an owner has: closed:true blocks the date (a holiday), or ranges replace that weekday's usual hours. With from_date/to_date and closed:true it closes every day of that span (time off, up to 120 days); with remove:true it reopens them to the weekly hours.

Booking.Override input
FieldTypeRequiredDescriptionAllowed
owner_idrequired
daterequired
2 rows
Calls and output

Booking.PaymentWebhook

Confirm a held booking from a provider webhook. Payment verifies the signature and resolves the intent; Schedule then requires that intent to match the booking on provider, amount and currency before it may mean 'paid' — a cheaper charge can never confirm a dearer meeting. Replays are no-ops.

Booking.PaymentWebhook input
FieldTypeRequiredDescriptionAllowed
raw_bodyrequired
1 row
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /booking/payment/webhookHTTP route

Booking.Refund

Send a paid booking's money back through the provider. Idempotent; a refund the provider declines is reported on the booking rather than swallowed.

Booking.Refund input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
2 rows
Calls and output

Booking.Requests

Owner-only: the caller's booking requests waiting for an answer, soonest first.

Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /booking/requestsHTTP route

Booking.Reschedule

Move a booking to a new offered slot, carrying the invitee's details forward and keeping the same manage link so the original confirmation email still resolves.

Booking.Reschedule input
FieldTypeRequiredDescriptionAllowed
manage_tokenoptional
booking_idoptional
start_ts_msrequired
3 rows
Calls and output

Booking.Roster

Owner-only: bookings holding a seat at one start time of a meeting type.

Booking.Roster input
FieldTypeRequiredDescriptionAllowed
type_idstringoptional
slugstringoptional
start_ts_msintegeroptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /booking/rosterHTTP route

Booking.SessionCredits

Read remaining purchased sessions for the authenticated customer.

Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /booking/session-creditsHTTP route

Booking.SessionHistory

Read the authenticated customer's session usage and returns.

Booking.SessionHistory input
FieldTypeRequiredDescriptionAllowed
order_idstringoptionalOptional purchase scope.
offsetintegeroptional
limitintegeroptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /booking/session-historyHTTP route

Booking.SetHours

Replace a booking type's weekly working hours. Each rule is a weekday (Mon=0..Sun=6) plus a band given either as start_min/end_min or as clock strings like 09:00 and 17:00.

Booking.SetHours input
FieldTypeRequiredDescriptionAllowed
owner_idrequired
slugrequired
hoursrequired
3 rows
Calls and output

Booking.Slots

The times a visitor may actually pick: weekly hours and date overrides, minus the host's busy calendar, filtered by buffers, minimum notice, daily cap, booking horizon and group seats. The public booking page and the booking handler both read this, so the page and the server can never disagree.

Booking.Slots input
FieldTypeRequiredDescriptionAllowed
owner_idrequired
slugrequired
2 rows
Calls and output

Calendar.AccountCalendars

Set per-remote-calendar choices: import, blocks_availability, push_target (one per account, writable calendars only). refresh=true re-lists the provider's calendars first.

Calendar.AccountCalendars input
FieldTypeRequiredDescriptionAllowed
account_idstringoptional
refreshbooleanoptional
calendarsarrayoptional[{remote_id, import?, blocks_availability?, push_target?}]
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/accounts/calendarsHTTP route

Calendar.AccountCallback

Finish a Google or Microsoft calendar connect: redeem the calendar_claim the callback page received. Only the account that started the connect can redeem it; any other attempt burns it.

Calendar.AccountCallback input
FieldTypeRequiredDescriptionAllowed
claimstringoptionalThe calendar_claim query value.
providerstringoptionalgoogle (default) or microsoft: the calendar_provider query value.
return_tostringoptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/accounts/callbackHTTP route

Calendar.AccountConnect

Connect a calendar account for the signed-in owner. Google and Microsoft return an authorize_url (Google connects at once when its link already has calendar access); CalDAV stores the app password in Passport, discovers calendars and pulls; ICS stores the feed URL and fetches it.

Calendar.AccountConnect input
FieldTypeRequiredDescriptionAllowed
providerstringoptionalgoogle (default), caldav, ics or microsoft.
redirect_uristringoptionalGoogle: https://<host>/calendar/oauth/google/callback (defaults from google.redirect_uri); Microsoft: https://<host>/calendar/oauth/microsoft/callback (defaults from microsoft.redirect_uri).
return_tostringoptionalLanding page after consent; /view/schedule/calendar with an optional query.
login_hintstringoptionalGoogle account email to preselect.
server_urlstringoptionalCalDAV server or ICS feed (https://, webcal:// accepted).
usernamestringoptionalCalDAV login.
passwordstringoptionalCalDAV app password; stored in the Passport vault, never returned.
credential_namestringoptionalExisting Passport vault entry instead of password.
namestringoptionalDisplay name for the account.
9 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/accounts/connectHTTP route

Calendar.AccountDisconnect

Disconnect a calendar account and delete its mirrored reservations and local calendars. revoke_google=true also revokes the whole Google link.

Calendar.AccountDisconnect input
FieldTypeRequiredDescriptionAllowed
account_idstringoptional
revoke_googlebooleanoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/accounts/disconnectHTTP route

Calendar.AccountList

The signed-in owner's calendar accounts, their remote calendars and choices, sync status and pending pushes.

Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /schedule/calendar/accountsHTTP route

Calendar.Create

Create a calendar for the signed-in owner. Kinds: personal (default), classes, or {type:practice, practice_id}.

Calendar.Create input
FieldTypeRequiredDescriptionAllowed
namestringoptionalCalendar name.
colorstringoptional#RRGGBB; a palette colour when omitted.
kindstringoptionalpersonal, classes, or a tagged practice object.
blocks_availabilitybooleanoptionalWhether entries hide booking slots (default true).
visibilitystringoptionalprivate (default), free_busy or public.
timezonestringoptionalIANA zone for all-day and repeating entries.
6 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/createHTTP route

Calendar.CreateEvent

Add an entry to a calendar the caller owns or edits: timed (start_ms/end_ms), all-day (date/end_date), optionally repeating (rrule).

Calendar.CreateEvent input
FieldTypeRequiredDescriptionAllowed
calendar_idstringoptionalTarget calendar; the caller's primary when omitted.
titlestringoptional
start_msintegeroptional
end_msintegeroptional
datestringoptionalAll-day start, YYYY-MM-DD in the calendar's zone.
end_datestringoptionalLast all-day date, inclusive.
rrulestringoptionalRepeat rule.
locationstringoptional
descriptionstringoptional
attendeesarrayoptionalInvitee emails written into the entry.
10 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/events/createHTTP route

Calendar.Delete

Owner-only: delete a calendar and cancel every entry on it. The primary cannot be deleted.

Calendar.Delete input
FieldTypeRequiredDescriptionAllowed
calendar_idstringoptionalCalendar to delete.
1 row
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/deleteHTTP route

Calendar.DeleteEvent

Cancel a calendar entry (or part of its series), freeing the time.

Calendar.DeleteEvent input
FieldTypeRequiredDescriptionAllowed
reservation_idstringoptionalEntry to cancel.
scopestringoptionalthis (default), following or all.
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/events/deleteHTTP route

Calendar.Events

Calendar items in [start_ms, end_ms) across visible calendars: reservations, bookings, mirrors and the owner's Events, redacted to the caller's access.

Calendar.Events input
FieldTypeRequiredDescriptionAllowed
start_msintegeroptionalRange start, epoch milliseconds.
end_msintegeroptionalRange end, epoch milliseconds (at most 400 days after start).
owner_idstringoptionalRead this owner's calendars instead of the caller's.
calendar_idsarrayoptionalOnly these calendars (also accepts a comma-separated string).
include_eventsbooleanoptionalInclude the owner's Events (default true).
5 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /schedule/calendars/eventsHTTP route

Calendar.FreeBusy

Merged busy intervals per person from blocking calendars the caller may see; people with none visible read visible=false.

Calendar.FreeBusy input
FieldTypeRequiredDescriptionAllowed
peer_idsarrayoptionalPeople to check (also accepts a comma-separated string).
start_msintegeroptional
end_msintegeroptionalAt most 120 days after start.
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /schedule/calendars/free-busyHTTP route

Calendar.GooglePush

Mirror confirmed bookings to Google Calendar through a Passport access token. `dry_run=true` performs no network mutation and returns the intended bounded receipts.

Calendar.GooglePush input
FieldTypeRequiredDescriptionAllowed
owner_idstringrequiredAuthenticated Calendar owner.
booking_idstringoptionalOptional single booking; otherwise up to 250 confirmed bookings.
dry_runbooleanoptionalReturn mutation receipts without network access.
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/google-pushHTTP route

Calendar.List

List the caller's calendars (primary first) plus calendars shared with them, or one owner's calendars at the caller's access.

Calendar.List input
FieldTypeRequiredDescriptionAllowed
owner_idstringoptionalRead this owner's calendars instead of the caller's.
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /schedule/calendarsHTTP route

Calendar.MoveEvent

Move or resize a calendar entry: new start_ms (keeps length unless end_ms), only end_ms (resize), or delta_ms.

Calendar.MoveEvent input
FieldTypeRequiredDescriptionAllowed
reservation_idstringoptionalEntry to move.
start_msintegeroptional
end_msintegeroptional
delta_msintegeroptional
scopestringoptionalthis (default), following or all.
5 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/events/moveHTTP route

Calendar.SettingsGet

Read the authenticated owner's calendar provider and booking-notification settings. Returns Passport readiness, never credential material.

Calendar.SettingsGet input
FieldTypeRequiredDescriptionAllowed
owner_idstringrequiredAuthenticated Calendar owner.
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /schedule/calendar/settingsHTTP route

Calendar.SettingsSet

Update calendar provider and booking-notification policy. Google writes remain disabled unless explicitly enabled; the credential name refers to Passport and is not a token.

Calendar.SettingsSet input
FieldTypeRequiredDescriptionAllowed
owner_idstringrequiredAuthenticated Calendar owner.
google_push_enabledbooleanoptionalOpt in to outbound Google event mutations.
google_calendar_idstringoptionalGoogle Calendar id, normally `primary`.
google_credential_namestringoptionalPassport service-credential lookup key. Never credential material.
invitee_email_enabledbooleanoptionalSend booking lifecycle email to invitees.
host_inbox_enabledbooleanoptionalWrite booking lifecycle notices to the host inbox.
reminder_minutesarrayoptionalGoogle event reminder offsets in minutes, each 0..=40320; at most five.
rotate_feed_tokenbooleanoptionalMint a new private booking-feed URL (returned as `feed_path`); the old URL stops working.
clear_feed_tokenbooleanoptionalRemove the private booking feed.
9 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/settingsHTTP route

Calendar.Share

Owner-only: grant, change or remove one person's access, and/or set public visibility. Free/busy viewers see only Busy blocks.

Calendar.Share input
FieldTypeRequiredDescriptionAllowed
calendar_idstringoptionalCalendar to share.
peer_idstringoptionalPerson to share with.
rolestringoptionalfree_busy, viewer, editor, or none to remove.
visibilitystringoptionalprivate, free_busy or public.
4 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/shareHTTP route

Calendar.Sync

Pull one account (account_id) or the owner's due accounts (force=true for all) and retry failed pushes.

Calendar.Sync input
FieldTypeRequiredDescriptionAllowed
account_idstringoptional
forcebooleanoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendar/syncHTTP route

Calendar.Update

Owner-only: change a calendar's name, colour, zone, visibility or availability blocking. The primary always blocks.

Calendar.Update input
FieldTypeRequiredDescriptionAllowed
calendar_idstringoptionalCalendar to change.
namestringoptional
colorstringoptional
blocks_availabilitybooleanoptional
visibilitystringoptionalprivate, free_busy or public.
timezonestringoptional
6 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/updateHTTP route

Calendar.UpdateEvent

Edit a calendar entry. scope=this|following|all reaches its series. Booking entries change through Booking.Reschedule.

Calendar.UpdateEvent input
FieldTypeRequiredDescriptionAllowed
reservation_idstringoptionalEntry to edit.
scopestringoptionalthis (default), following or all.
titlestringoptional
locationstringoptional
descriptionstringoptional
start_msintegeroptional
end_msintegeroptional
all_daybooleanoptional
target_calendar_idstringoptionalMove to another calendar of the same owner.
9 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/calendars/events/updateHTTP route

Practice.Availability

Open times for a service variant grouped by practitioner, plus first available; each slot names the booking-type slug for Booking.Book.

Practice.Availability input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
service_idstringoptional
variant_idstringoptional
location_idstringoptional
staff_idstringoptionalA staff_id, or any
datestringoptionalYYYY-MM-DD in the practice zone
daysintegeroptional
7 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /practice/availabilityHTTP route

Practice.Get

Read one practice by practice_id or slug, with its live offerings.

Practice.Get input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
slugstringoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /practice/getHTTP route

Practice.List

List practices; non-owners see active ones only.

Practice.List input
FieldTypeRequiredDescriptionAllowed
owner_idstringoptional
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /practice/listHTTP route

Practice.Project

Re-run the offering projection for one practice, or all of the caller's.

Practice.Project input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
1 row
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/projectHTTP route

Practice.Schedule

Owner-only: one day across practitioners as calendar items, one column per staff member.

Practice.Schedule input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
datestringoptionalYYYY-MM-DD in the practice zone
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /practice/scheduleHTTP route

Practice.ServiceUpsert

Add, edit (partial fields) or remove one service and its variants.

Practice.ServiceUpsert input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
serviceobjectoptional
removebooleanoptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/serviceHTTP route

Practice.ShiftSet

Set one practitioner's weekly hours at one location; empty hours clear them.

Practice.ShiftSet input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
staff_idstringoptional
location_idstringoptional
hoursarrayoptional
effective_fromstringoptional
effective_untilstringoptional
6 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/shiftHTTP route

Practice.StaffUpsert

Add, edit (partial fields) or remove one practitioner.

Practice.StaffUpsert input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
staffobjectoptional
removebooleanoptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/staffHTTP route

Practice.Upsert

Create or edit a practice: name, slug, timezone, locations, rooms, staff, services (with variants), shifts. Projects each offering into a hidden booking type.

Practice.Upsert input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
namestringoptional
slugstringoptional
timezonestringoptional
locationsarrayoptional
roomsarrayoptional
staffarrayoptional
servicesarrayoptional
shiftsarrayoptional
activebooleanoptional
10 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/upsertHTTP route

Practice.WaitlistJoin

Join a practice's waitlist for one service; matching cancellations are offered first-come by email (or inbox when signed in without an email).

Practice.WaitlistJoin input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
slugstringoptional
service_idstringoptional
variant_idstringoptional
staff_idstringoptionalA staff_id, or any
location_idstringoptional
from_datestringoptionalYYYY-MM-DD
until_datestringoptionalYYYY-MM-DD
weekdaysarrayoptional0 = Monday to 6 = Sunday
earlieststringoptionalHH:MM
lateststringoptionalHH:MM
namestringoptional
emailstringoptional
phonestringoptional
notestringoptional
15 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/waitlist/joinHTTP route

Practice.WaitlistLeave

Leave a waitlist by entry_id with its leave_token, as the joining account, or as the practice owner.

Practice.WaitlistLeave input
FieldTypeRequiredDescriptionAllowed
entry_idstringoptional
leave_tokenstringoptional
2 rows
Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /practice/waitlist/leaveHTTP route

Practice.WaitlistList

A practice's waitlist: every entry for the owner, the caller's own otherwise.

Practice.WaitlistList input
FieldTypeRequiredDescriptionAllowed
practice_idstringoptional
slugstringoptional
include_leftbooleanoptional
3 rows
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /practice/waitlist/listHTTP route

Schedule.CalDavPush

Push reservations to an external CalDAV server. HANDLES A SECRET -- the account password is sent verbatim to the given URL. Reaches the open internet.

Schedule.CalDavPush input
FieldTypeRequiredDescriptionAllowed
caldav_urlstringrequiredCalDAV collection URL.
usernamestringrequiredCalDAV account name.
passwordstringrequiredCalDAV account password. Sent to the URL above.
3 rows
Calls and output

Schedule.Cancel

Cancel a reservation and free its slot.

Schedule.Cancel input
FieldTypeRequiredDescriptionAllowed
reservation_idstringrequiredReservation to cancel.
1 row
Calls and output

Schedule.Complete

Mark a reservation completed. Terminal transition.

Schedule.Complete input
FieldTypeRequiredDescriptionAllowed
reservation_idstringrequiredReservation to complete.
1 row
Calls and output

Schedule.Conflicts

List reservations that would collide with a proposed window. Reads only.

Schedule.Conflicts input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource to test against.
start_ts_msintegerrequiredProposed start as epoch milliseconds.
end_ts_msintegerrequiredProposed end as epoch milliseconds.
3 rows
Calls and output

Schedule.Feed

Render reservations as an iCalendar feed for external calendar clients.

Schedule.Feed input
FieldTypeRequiredDescriptionAllowed
resource_filterstringoptionalRestrict the feed to one resource.
1 row
Calls and output

Schedule.FindSlot

Find the first free window of a given length inside a search range. Reads only -- nothing is booked.

Schedule.FindSlot input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource to search.
window_start_ts_msintegerrequiredEarliest acceptable start, epoch milliseconds.
window_end_ts_msintegerrequiredLatest acceptable end, epoch milliseconds.
duration_msintegerrequiredLength of slot needed, in milliseconds.
4 rows
Calls and output

Schedule.Get

Read one reservation.

Schedule.Get input
FieldTypeRequiredDescriptionAllowed
reservation_idstringrequiredReservation to read.
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /schedule/getHTTP route

Schedule.Import

Import an iCalendar feed into reservations, by inline text or by URL.

Schedule.Import input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource the imported events land on.
holder_idstringrequiredPeer the imported reservations belong to.
ical_textstringoptionalInline iCalendar document. Use this or `url`, not both.
urlstringoptionalFeed URL to fetch. Reaches the open internet.
source_idstringoptionalNames the feed; re-importing the same source replaces its earlier import. Defaults to the URL.
timezonestringoptionalIANA zone for floating times and all-day dates in the feed.
window_start_ts_msintegeroptionalImport occurrences from this instant (epoch ms).
window_end_ts_msintegeroptionalImport occurrences until this instant (epoch ms).
8 rows
Calls and output

Schedule.List

List reservations, optionally filtered by resource or holder.

Calls and output

Schedule.ListAvailability

List the availability windows declared for a resource.

Schedule.ListAvailability input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource to read availability for.
1 row
Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • GET /schedule/availabilityHTTP route

Schedule.PublicMeetings.Import

Append public meeting source revisions; no reservations, invitations or attendance assets.

Calls and output
  • Output keyschedule.result
  • Classificationreal
  • POST /schedule/public-meetings/importHTTP route

Schedule.PublicMeetings.List

Read public meeting observations without reserving time or claiming attendance.

Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /schedule/public-meetings/listHTTP route

Schedule.PublicMeetings.Preview

Read public meeting observations without reserving time or claiming attendance.

Calls and output
  • Output keyschedule.result
  • Classificationroute_handler
  • POST /schedule/public-meetings/previewHTTP route

Schedule.Recur

Expand a recurrence rule into reservations across a window. Writes every instance it materializes.

Schedule.Recur input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource being booked.
holder_idstringrequiredPeer the reservations are for.
start_ts_msintegerrequiredFirst instance start, epoch milliseconds.
end_ts_msintegerrequiredFirst instance end, epoch milliseconds.
recurrencestringrequiredRecurrence rule, iCalendar RRULE syntax.
window_end_ts_msintegerrequiredStop expanding past this epoch-millisecond instant.
6 rows
Calls and output

Schedule.Reserve

Book a resource for a holder over a time window. Rejects overlaps against existing reservations.

Schedule.Reserve input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource being booked.
holder_idstringrequiredPeer the reservation is for.
start_ts_msintegerrequiredStart as epoch milliseconds, UTC.
end_ts_msintegerrequiredEnd as epoch milliseconds, UTC.
4 rows
Calls and output

Schedule.SetAvailability

Declare a bookable availability window on a resource.

Schedule.SetAvailability input
FieldTypeRequiredDescriptionAllowed
resource_idstringrequiredResource to open.
start_ts_msintegerrequiredWindow start, epoch milliseconds.
end_ts_msintegerrequiredWindow end, epoch milliseconds.
3 rows
Calls and output

CLI commands · 22

booking book

Take a slot as an invitee; returns the manage link and an .ics invite

booking book {"owner_id":"alice","slug":"30-min","start_ts_ms":0,"invitee_name":"Bob","invitee_email":"bob@example.com"}

booking cancel

Cancel a booking by its manage token (invitee) or id (host), freeing the slot

booking cancel {"manage_token":"...","reason":"conflict"}

booking checkout

Open a provider payment link for a held booking

booking checkout {"manage_token":"..."}

booking define-type

Create or edit a public meeting type (Calendly-style) at /view/schedule/meet/{owner}/{slug}

booking define-type {"owner_id":"alice","slug":"30-min","title":"30 Min Meeting","duration_minutes":30,"slot_interval_minutes":15,"min_notice_minutes":240,"location":"Google Meet"}

booking expire-holds

Release checkout holds whose window closed unpaid, freeing their slots

booking expire-holds {}

booking list

List bookings for an owner or meeting type

booking list {"owner_id":"alice","upcoming_only":true}

booking override

Block a date, or give it special hours, across every meeting type an owner has

booking override {"owner_id":"alice","date":"2026-12-25","closed":true,"note":"Holiday"}

booking refund

Refund a paid booking through its payment provider

booking refund {"manage_token":"...","reason":"cancelled"}

booking reschedule

Move a booking to another offered slot, keeping the same manage link

booking reschedule {"manage_token":"...","start_ts_ms":0}

booking set-hours

Replace a meeting type's weekly working hours (weekday 0=Mon .. 6=Sun)

booking set-hours {"owner_id":"alice","slug":"30-min","hours":[{"weekday":0,"start":"09:00","end":"17:00"},{"weekday":1,"start":"09:00","end":"17:00"}]}

booking slots

List the times a visitor may actually pick on a meeting type

booking slots {"owner_id":"alice","slug":"30-min"}

schedule availability

Publish an availability window for a resource

schedule availability {"resource_id":"room-a","start_ts_ms":32400000,"end_ts_ms":61200000}

schedule caldav-push

Push reservations to an external CalDAV calendar (Basic auth / app-password)

schedule caldav-push {"caldav_url":"https://dav.example.com/cal/me","username":"me","password":"app-pw"}

schedule cancel

Cancel a reservation, freeing its slot

schedule cancel {"reservation_id":"resv-..."}

schedule complete

Mark a reservation kept; mints the kept-commitment credential

schedule complete {"reservation_id":"resv-..."}

schedule conflicts

List reservations overlapping a candidate interval on a resource

schedule conflicts {"resource_id":"room-a","start_ts_ms":0,"end_ts_ms":3600000}

schedule feed

Export reservations as an iCalendar (.ics) document

schedule feed {"resource_filter":"room-a"}

schedule find-slot

Find free slots of a duration on a resource within a window

schedule find-slot {"resource_id":"room-a","window_start_ts_ms":0,"window_end_ts_ms":28800000,"duration_ms":3600000}

schedule import

Import an iCal feed (inline text or a .ics URL) as reservations

schedule import {"resource_id":"room-a","holder_id":"alice","url":"https://calendar.google.com/calendar/ical/.../basic.ics"}
schedule import {"resource_id":"room-a","holder_id":"alice","url":"https://.../basic.ics"}
schedule import {"resource_id":"room-a","holder_id":"alice","ical_text":"BEGIN:VCALENDAR..."}

schedule list

List reservations with optional resource / holder filters

schedule list
schedule list
schedule list {"resource_filter":"room-a"}

schedule recur

Expand a daily/weekly recurrence into reservations within a window

schedule recur {"resource_id":"room-a","holder_id":"alice","start_ts_ms":0,"end_ts_ms":3600000,"recurrence":{"freq":"weekly","interval":1,"count":4},"window_end_ts_ms":2419200000}

schedule reserve

Book a resource for [start, end); rejects on conflict unless force=true

schedule reserve {"resource_id":"room-a","holder_id":"alice","start_ts_ms":0,"end_ts_ms":3600000,"title":"standup"}

Other routes · 12

Routes without a connection
MethodPathKind
GET/booking/feed/{owner_id}/{feed_file}raw handler
GET/calendar/oauth/{provider}/callbackraw handler
GET/view/schedule/appointments/{practice_slug}raw handler
GET/view/schedule/booking/{manage_token}raw handler
GET/view/schedule/calendarraw handler
GET/view/schedule/calendar/{owner_id}raw handler
GET/view/schedule/meetraw handler
GET/view/schedule/meet/{owner_id}raw handler
GET/view/schedule/meet/{owner_id}/{slug}raw handler
GET/view/schedule/my-bookingsraw handler
GET/view/schedule/practice/{practice_id}raw handler
GET/view/schedule/scheduling/{owner_id}raw handler
12 rows

Schema and data model

Declared storage and kinds. Linked kinds open their app pages.

Declared storage
  • Authorityhyper
  • Preferred truthhyper
  • App ownerSchedule
  • SQL projectionnone · DDL declarations: 0
Hyper vertex kinds read
  • AppointmentAttestation
  • AvailabilityWindow
  • Booking
  • BookingSessionCreditUse
  • BookingType
  • Calendar
  • CalendarAccount
  • CalendarPushPending
  • CalendarSettings
  • DateOverride
  • Practice
  • PracticeWaitlistEntry
  • Reservation
  • ServiceCredential
  • ShopSessionPackageRefundBlock
  • google.account_link
  • schedule.public_meeting_observation
Hyper vertex kinds written
  • AppointmentAttestation
  • AvailabilityWindow
  • Booking
  • BookingSessionCreditUse
  • BookingType
  • Calendar
  • CalendarAccount
  • CalendarOAuthClaim
  • CalendarOAuthPending
  • CalendarPushPending
  • CalendarPushedEvent
  • CalendarSettings
  • DateOverride
  • Practice
  • PracticeWaitlistEntry
  • Reservation
  • ScheduleMessagePreference
  • ServiceCredential
  • google.account_link
  • google.oauth_claim
  • google.oauth_pending
  • schedule.public_meeting_observation
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • cre8/schedule/{holder_id}/kept
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol