List bookings (one person's, or the whole diary for a window)
GET/api/bookings
Built for a contact's card and widened for the diary screen. from/to select an OVERLAP rather than a start, so a treatment that began before the window and is still running inside it is in the answer — the long appointment at the top of a Monday, which a starts_at filter drops.
Paginated: it used to take the first 200 rows and say nothing about the rest, which is the shape a busy month silently loses half of. meta.total is what lets a calendar say "1 200 of these, showing 500" instead of drawing holes.
Request
Responses
- 200
- 401
- 403
Matching bookings.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.