Get a document
Returns the document's metadata, including its contact link and the opportunities it is attached to. Use `/documents/{id}/content` to obtain a download URL.
Document details
List documents
All documents in the workspace, including those not linked to any contact or opportunity.
Get a download URL for a document
Returns a short-lived pre-signed `download_url` for the stored file, valid for 300 seconds. Fetch that URL directly — it needs no authentication and must be requested **without** your `x-api-key` header. Treat `download_url` as a short-lived credential: anyone holding it can read the file until it expires, and it cannot be revoked. Do not log, cache or forward it. Request a fresh URL for each download. On deployments whose storage backend cannot sign URLs, this endpoint streams the file directly instead, as `application/octet-stream` with a `Content-Disposition: attachment` header.