Skip to content

Get shared attachment download URL

GET
/v1/attachments/{attachmentId}/download
curl --request GET \
--url https://api.varman.io/v1/attachments/att_abc123def456/download \
--header 'X-API-Key: <X-API-Key>'

Generate a signed download URL for a shared attachment linked to comments, evidence records, or compliance workflow reviews.

attachmentId
required
string

Example

att_abc123def456

Unique attachment identifier

Download URL generated successfully

Media typeapplication/json
object
downloadUrl

Signed URL for downloading the file

string
expiresIn

URL expiration time in seconds

number

Example

{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}