List Shares
List shares created by the current user
Parameters
| Parameter | Type | Required | Description | Options |
|---|---|---|---|---|
share_type | string | Optional | Filter by share type: "Send" or "Request" | SendRequest |
top | number | Optional | Maximum number of shares to return | |
skip | number | Optional | Number of shares to skip (pagination) | |
include_expired | boolean | Optional | Include expired shares (default false) |
Examples
MCP Tool Call
{
"name": "sharefile_listShares",
"arguments": {
"share_type": "example",
"top": 12345,
"skip": 12345,
"include_expired": true,
"summary_only": true
}
}REST API
curl -X POST https://api.syncello.io/v1/tools/sharefile/listShares \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"share_type": "example",
"top": 12345,
"skip": 12345,
"include_expired": true,
"summary_only": true
}'