Documents

Get presigned download URL

GET
/organizations/{organizationId}/documents/{documentId}/downloads/{assetId}/presigned

Gets a presigned S3 URL for downloading an asset

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Path Parameters

organizationId*string
Formatuuid
documentId*string
Formatuuid
assetId*string
Formatuuid

Query Parameters

disposition?string

Value in

  • "inline"
  • "attachment"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/documents/497f6eca-6276-4993-bfeb-53cbbbba6f08/downloads/497f6eca-6276-4993-bfeb-53cbbbba6f08/presigned"
{  "url": "http://example.com",  "expiresIn": 0}