Skip to main content
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 returns 200 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

string
required
Bearer token for authenticated access. The doctor’s ID is extracted from the JWT token and used to scope results.

Path Parameters

string
required
The appointment ID (ObjectId) whose documents should be listed. Only documents owned by the authenticated doctor are returned.

Response

boolean
Whether the request was successful
array
Array of document records owned by the authenticated doctor on this appointment. Empty when none match.
string
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.

Example Request

Example Response

Error Responses