curl -X GET https://app.drime.cloud/api/v1/vault/entries/download/111346 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const response = await fetch('https://app.drime.cloud/api/v1/vault/entries/download/111346', {
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
});
const { entries } = await response.json();
const { download_url, iv } = entries[0];
// Download and decrypt the file client-side
// using the iv and your vault password
import requests
response = requests.get(
'https://app.drime.cloud/api/v1/vault/entries/download/111346',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
entry = response.json()['entries'][0]
print(f"Download URL: {entry['download_url']}")
print(f"IV for decryption: {entry['iv']}")
{
"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
}
Vault
Download Vault Entry
Get download URL for vault entry
GET
/
vault
/
entries
/
download
/
{entryId}
curl -X GET https://app.drime.cloud/api/v1/vault/entries/download/111346 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const response = await fetch('https://app.drime.cloud/api/v1/vault/entries/download/111346', {
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
});
const { entries } = await response.json();
const { download_url, iv } = entries[0];
// Download and decrypt the file client-side
// using the iv and your vault password
import requests
response = requests.get(
'https://app.drime.cloud/api/v1/vault/entries/download/111346',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
entry = response.json()['entries'][0]
print(f"Download URL: {entry['download_url']}")
print(f"IV for decryption: {entry['iv']}")
{
"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
integer
required
ID of the vault entry
Response
array
string
Request status (
success)curl -X GET https://app.drime.cloud/api/v1/vault/entries/download/111346 \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
const response = await fetch('https://app.drime.cloud/api/v1/vault/entries/download/111346', {
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
}
});
const { entries } = await response.json();
const { download_url, iv } = entries[0];
// Download and decrypt the file client-side
// using the iv and your vault password
import requests
response = requests.get(
'https://app.drime.cloud/api/v1/vault/entries/download/111346',
headers={'Authorization': 'Bearer YOUR_ACCESS_TOKEN'}
)
entry = response.json()['entries'][0]
print(f"Download URL: {entry['download_url']}")
print(f"IV for decryption: {entry['iv']}")
{
"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.⌘I

