Appointments
Get Appointment
Retrieve a single appointment you own by its ID
GET
Overview
Fetches one appointment by its id. Access is owner-only: the appointment’sdoctor_id must match the authenticated caller, otherwise a 403 Forbidden is
returned.
Authentication
Bearer token for authenticated access.
Path Parameters
Appointment ObjectId. Must be a 24-character hex ObjectId — a malformed value
fails with a
400 cast error.Response
Whether the request succeeded.
The appointment object.
Additional fields may appear on the appointment object depending on how it was
created. Treat any field not documented here as opaque.
Example Request
Example Response
Error Responses
403 Forbidden is returned when the appointment exists but is owned by a
different doctor. A missing or invalid Bearer token returns 401 with a
message key. A session revoked by a sign-in elsewhere returns 401 with
"code": "SESSION_REVOKED".