Get a document download URL

Returns a short-lived presigned URL for the document's bytes (valid for about 10
minutes; the exact expiry is in expiresAt). GET that URL directly — no Precursor
auth headers — to receive the file.

This is a PHI disclosure: every call to this endpoint is recorded in your provider
activity log before the URL is returned. Returns 403 documents_locked while the
patient's vault is locked, and 404 when the document or patient is not found for your
organisation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The patient's identifier, as returned by the bookings and patients endpoints. Opaque — treat it as a string.

string
required

The document's identifier.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json