Documents
Retrieving Documents
Retrieve a Single Document
Returns the full document object. The retrieve response always includes a linkages object showing the count of active links per resource type.
Path param: id — document ID, must start with dcmt_.
Getting a Signed Download URL
For private documents, the file.url field on the document object is the raw GCS URL, which returns 403 without GCS credentials. Use ?include_document_url=true to replace it with a 15-minute signed URL.
Query params:
file.url field behavior summary:
Do not store signed URLs server-side — they expire after 15 minutes. Generate them on demand just before returning to the client.
List Documents
List all documents for the authenticated organization with optional filters. Only active (non-deleted) documents are returned. The list response does not include linkages.
Query parameters:
Response:
Filtering by resource
To fetch all documents attached to a specific shipment:
Filtering by upload status
To find documents awaiting async upload verification: