Documents
Get Documents by Doctor
List all documents owned by your own account
GET
Overview
Returns every document owned by the authenticated doctor, across all appointments. This is effectively a “list all my documents” endpoint. Access is self-only: theid in the path must equal the authenticated user’s own ID. Any other value returns 403 Forbidden — you cannot view another doctor’s documents.
This is a read endpoint and is not plan-gated. The result is a single array with no pagination and no guaranteed sort order.
Authentication
Bearer token for authenticated access. The doctor’s ID is extracted from the JWT token and must match the path
id.Path Parameters
Must equal the authenticated user’s own ID (ObjectId). Any other value returns
403 Forbidden.Response
Whether the request was successful
Array of all document records owned by the authenticated doctor. Empty when the doctor has no documents.
Error message (only present when
success is false)Additional fields may be present on each document object and should be treated as opaque.