Get a short-lived signed download URL for a document
GET/api/v1/documents/:id/download
Required scope: dpp:read. Returns a 2-hour signed URL to the file
(Content-Disposition: attachment). The document must belong to your
company — a cross-tenant or supplier-standalone document returns 404
(no existence oracle). Rate-limited per key.
Request
Responses
- 200
- 403
- 404
- 429
- 502
- 503
Signed URL
403 — missing scope (FORBIDDEN_SCOPE) or module (FORBIDDEN_MODULE).
Document not found / not owned (NOT_FOUND), or no file stored (NO_FILE).
429 — RATE_LIMITED (per-key limit, reads and writes alike; fails closed,
so a limiter outage also returns 429). A limiter-down 429 is deliberately
indistinguishable from a quota 429. Carries Retry-After (seconds).
Response Headers
Seconds to wait before retrying (429 only).
Per-minute request ceiling for this key's tier.
Requests left in the current window (floored at 0).
Seconds until the window resets.
DOWNLOAD_FAILED — transient storage error; retry.
503 — the API is not enabled on this environment (FEATURE_DISABLED).