Skip to content

Request a presigned download URL

GET
/api/v1/files/{fileContentId}/download-url
curl --request GET \
--url 'https://app.avera.io/api/v1/files/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/download-url?expirationSeconds=3600'

Returns a short-lived presigned URL for the file’s bytes. A file whose scan has not passed is refused. The expiration is clamped between one minute and 24 hours.

fileContentId
required
string format: uuid
expirationSeconds
integer format: int32
default: 3600

OK

Media type*/*
object
downloadUrl
required
string
fileName
required
string
contentType
required
string
fileSize
required
integer format: int64
expiresAt
required
string