Documents
Get Documents by Appointment
List the documents you own on a given appointment
GET
Overview
Returns the documents attached to a specific appointment that are owned by the authenticated doctor. The query is scoped to both the appointment ID and the calling doctor, so documents attached by another doctor are not returned. The response is always an array. If nothing matches, it returns200 with an empty data array.
This is a read endpoint and is not plan-gated: it keeps working even for accounts that do not have the
documents.attach_additional feature, so previously attached documents remain accessible.Authentication
Bearer token for authenticated access. The doctor’s ID is extracted from the JWT token and used to scope results.
Path Parameters
The appointment ID (ObjectId) whose documents should be listed. Only documents owned by the authenticated doctor are returned.
Response
Whether the request was successful
Array of document records owned by the authenticated doctor on this appointment. Empty when none match.
Error message (only present when
success is false)Additional fields may be present on each document object and should be treated as opaque. There is no pagination and no guaranteed sort order.