Control who can discover a share, how long it lasts, and whether download requires a secret.
A share address and an unlock secret solve different problems. The share code locates a file; an unlock code or private delivery link authorizes a protected download.
The shortId in /d/{shortId} is the share code. A recipient can open the full URL or enter only that code at https://beecargo.net/get. It is an address, not a password.
unlisted is reachable only by its link. public may appear on /u/{username} and requires a claimed username. Public Free shares use a 7-day TTL; Premium can use a TTL or forever. While Premium is active, your uploads sponsor ad-free, wait-free downloads for every recipient. Premium direct: true only auto-starts the download when /d/{shortId} opens.
Set protect: true to mint a 6-character unlockCode and private handoffUrl. Both are returned once. A handoffMessage of up to 480 characters is shown on the delivery page.
Send the public /d address and unlock code through separate channels, or send only the private /h/{token} delivery link. The delivery link skips typing the unlock code.
Anonymous direct uploads can request protection during upload. After upload, PATCH /files/link-protection can enable or clear protection with fileId and claimToken without first claiming the file.
Endpoint
https://api.beecargo.net/files/link-protectionParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
fileId | String | Yes | Anonymous file id |
claimToken | String | Yes | Claim token returned once by upload |
protect | Boolean | Yes | Enable or clear protection |
handoffMessage | String | null | No | Optional delivery-link note |