Skip to main content
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 the from and to query parameters (used by the calendar view). Unparseable dates are silently ignored.

Authentication

string
required
Bearer token for authenticated access. The doctor id is taken from the token.

Query Parameters

string
ISO datetime. Lower bound (inclusive) on the appointment date. Ignored if it cannot be parsed.
string
ISO datetime. Upper bound (exclusive) on the appointment date. Ignored if it cannot be parsed.

Response

boolean
Whether the request succeeded.
array
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.