Get Download Url
Get a temporary download URL for a file
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
item_id | string | Required | ID of the file to download |
include_all_versions | boolean | Optional | If true, download all versions as a zip file |
redirect | boolean | Optional | If 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
}'