Get Download Url

Get a temporary download URL for a file

Parameters

ParameterTypeRequiredDescription
item_idstringRequiredID of the file to download
include_all_versionsbooleanOptionalIf true, download all versions as a zip file
redirectbooleanOptionalIf false, returns URL instead of redirecting (default false)

Examples

MCP Tool Call

{
  "name": "sharefile_getDownloadUrl",
  "arguments": {
    "item_id": "example",
    "include_all_versions": true,
    "redirect": true
  }
}

REST API

curl -X POST https://api.syncello.io/v1/tools/sharefile/getDownloadUrl \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "item_id": "example",
  "include_all_versions": true,
  "redirect": true
}'