Skip to main content
GET
Mint a signed download URL for an attachment

Authorizations

Authorization
string
header
required

Dairo API key, e.g. dairo_test_... or dairo_live_...

Path Parameters

attachmentId
string<uuid>
required

Query Parameters

expiryHours
integer

Signed URL expiry in hours. Defaults to about 5 minutes when omitted. Maximum is 168 hours / one week.

Required range: 1 <= x <= 168

Response

Success

attachment
object
required
downloadUrl
string<uri>
required
expiresInSeconds
integer
required
Required range: 1 <= x <= 604800
shareUrl
string<uri>
required

Human branded Dairo share page URL for the attachment.