Skip to main content
GET
Download attachment

Authorizations

x-api-key
string
header
required

Your Leap API key. Send it in the x-api-key header: x-api-key: leap_live_....

Path Parameters

id
integer
required

Attachment ID

Query Parameters

application_id
integer

Application ID that the attachment belongs to.

Response

Successfully retrieved download URL

downloadUrl
string<uri>

Signed download URL (valid for 1 hour)

Example:

"https://<storage-host>/attachments/app-123/<uuid>-invoice.pdf?token=..."

url
string<uri>

Signed download URL (same as downloadUrl, for compatibility)

Example:

"https://<storage-host>/attachments/app-123/<uuid>-invoice.pdf?token=..."

file_url
string<uri>

Signed download URL (same as downloadUrl, for compatibility)

Example:

"https://<storage-host>/attachments/app-123/<uuid>-invoice.pdf?token=..."