Skip to main content
GET
/
file-entries
/
{entryId}
/
shareable-link
curl -X GET https://app.drime.cloud/api/v1/file-entries/123456/shareable-link \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "status": "success",
  "link": {
    "id": 789,
    "hash": "3h8N1nxZq7WtyRmXDIosFupSl9MCrD",
    "user_id": 15843,
    "entry_id": 123456,
    "expires_at": null,
    "allow_edit": false,
    "allow_download": true
  },
  "folderChildren": []
}

Overview

Retrieves the shareable link for a file or folder, if one exists.

Path Parameters

entryId
integer
required
ID or hash of the file entry

Response

The shareable link object
folderChildren
array
If the link is for a folder, lists immediate children
status
string
Request status (success)
curl -X GET https://app.drime.cloud/api/v1/file-entries/123456/shareable-link \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "status": "success",
  "link": {
    "id": 789,
    "hash": "3h8N1nxZq7WtyRmXDIosFupSl9MCrD",
    "user_id": 15843,
    "entry_id": 123456,
    "expires_at": null,
    "allow_edit": false,
    "allow_download": true
  },
  "folderChildren": []
}