Get document content url
GET/documents/:documentId/url
Returns a URL for the document's contents. Direct S3 presigned URLs expire after 48 hours by default.
With the Shortlinks Add-On Module, use format=short&maxUses=1 for a single-redemption short link,
or set maxUses to a larger positive integer to allow that many redemptions. Omitting maxUses
permits unlimited redemptions during the short link's validity period.
For usage-limited short links, duration controls the short link's validity in hours.
Each successful redemption generates a fresh S3 presigned URL valid for 20 seconds.
The S3 request must start before expiry; a download already in progress can continue afterward.
The S3 URL itself can be reused during those 20 seconds.
Request
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
Access-Control-Allow-Methods
Access-Control-Allow-Headers