Get document content url
GET/documents/:documentId/url
Returns a URL for the document's contents; this URL will expire (the default is 48 hours)
Request
Path Parameters
documentId stringrequired
Document Identifier
Query Parameters
siteId string
Site Identifier
versionKey string
Version Key (version key required URL encoding)
duration integer
Indicates the number of hours request is valid for
shareKey string
Share Identifier
inline boolean
Set the Content-Disposition to inline
Default value:
false
bypassWatermark boolean
Allow the by pass of watermark (only allowed by GOVERN / ADMIN permissions)
Default value:
false
Responses
- 200
200 OK
Response Headers
Access-Control-Allow-Origin
string
Access-Control-Allow-Methods
string
Access-Control-Allow-Headers
string
- application/json
- Schema
- Example (from schema)
Schema
documentId string
Document Identifier
url string
Document content url
headers
object
{
"documentId": "string",
"url": "string",
"headers": {}
}
Loading...