Appointments
List Doctor's Appointments
Retrieve the authenticated doctor’s appointments, optionally filtered by date range
GET
Overview
Returns every appointment owned by the authenticated doctor. The doctor is identified from the JWT — there is no user id parameter. Results are scoped to the caller: you only ever see your own appointments. An optional date range can be applied with thefrom and to query parameters
(used by the calendar view). Unparseable dates are silently ignored.
Authentication
Bearer token for authenticated access. The doctor id is taken from the token.
Query Parameters
ISO datetime. Lower bound (inclusive) on the appointment
date. Ignored if it
cannot be parsed.ISO datetime. Upper bound (exclusive) on the appointment
date. Ignored if it
cannot be parsed.Response
Whether the request succeeded.
Array of appointment objects owned by the caller.
Additional fields may appear on the appointment object depending on how it was
created (for example provenance fields on externally-synced appointments).
Treat any field not documented here as opaque.
Example Request
Example Response
Error Responses
A missing or invalid Bearer token returns
401 with a message key (not
error). Only one active session per device set is allowed; signing in
elsewhere revokes the previous session and returns the SESSION_REVOKED code.
On a server-side failure the error field carries the raw error message.