Skip to main content
GET
/
vault
/
entries
/
download
/
{entryId}
curl -X GET https://app.drime.cloud/api/v1/vault/entries/download/111346 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "entries": [
    {
      "id": 111346,
      "name": "IMG_5039.heic",
      "type": "file",
      "relativePath": "IMG_5039.heic",
      "download_url": "https://app.drime.cloud/api/v1/file-entries/download/MTExMzQ2fHBhZA",
      "iv": "WgMf4hizsWEJi3Wm"
    }
  ],
  "status": "success",
  "seo": null
}

Overview

Retrieves download information for a vault entry, including the download URL and initialization vector for decryption.

Path Parameters

entryId
integer
required
ID of the vault entry

Response

entries
array
Array of download entries
status
string
Request status (success)
curl -X GET https://app.drime.cloud/api/v1/vault/entries/download/111346 \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "entries": [
    {
      "id": 111346,
      "name": "IMG_5039.heic",
      "type": "file",
      "relativePath": "IMG_5039.heic",
      "download_url": "https://app.drime.cloud/api/v1/file-entries/download/MTExMzQ2fHBhZA",
      "iv": "WgMf4hizsWEJi3Wm"
    }
  ],
  "status": "success",
  "seo": null
}
The downloaded file is encrypted. Use the iv and your vault password to decrypt it client-side.