Skip to content
cartage

Expiring links

Every Cartage link has an end date. When it passes, the link stops working and the files are deleted.

Expiry presets

PresetDockFreightStudioBulk
24 hours, 3 daysyesyesyesyes
7 and 14 daysnoyesyesyes
30 daysnoyesyesyes
90 daysnonoyesyes
365 daysnononoyes

In the API, pass "expires_in": "14d" or an exact "expires_at" timestamp. You can shorten a link at any time and extend it up to the plan maximum, counted from the original send.

Other limits you can set

  • Download cap: the link stops after N completed downloads of the whole transfer. A half-finished download does not count.
  • Password: required before listing or downloading. We store an Argon2id hash only. Three wrong tries lock the link for 15 minutes for that visitor.
  • Email confirmation: recipients enter an address on your allow list and a six-digit code sent to it.
  • Region lock: refuse downloads from outside chosen countries. Receipts record the country of each connection.

What happens at the end

  1. At the expiry time every edge starts answering 410 Gone with a small HTML page that names the transfer and the date it ended.
  2. Within 24 hours the files are deleted from the storage region. Backups of stored parts are purged in a further 48 hours.
  3. The receipt stays for 13 months on Dock and Freight, 7 years on Studio and Bulk, because customers need it for invoices and disputes.

See what recipients see on an example expired link.

Revoking

curl -X DELETE https://mirror-fr.edokus.ru/api/v1/transfers/t_8x41kd/link \
  -H "Authorization: Bearer $CARTAGE_TOKEN"
{"state": "revoked", "effective_at": "2026-10-09T14:02:33Z"}

Revocation reaches every edge in under 10 seconds. The files are kept until the original end date so you can issue a new link, unless you also pass ?purge=true.