A simple guide to direct uploads, secure link sharing, and API endpoints.
To make uploads as fast as possible, files stream directly from your browser to Cloudflare R2 storage. Your file content never passes through our application servers.
| Endpoint | Method | Access | Limit | What it does |
|---|---|---|---|---|
| /api/files/initiate-upload | POST | Logged in | 30 / hr | Start an upload and get a direct upload link. |
| /api/files/complete-upload | POST | Logged in | 60 / hr | Confirm upload is finished and save the file. |
| /api/share/create | POST | Logged in | 60 / hr | Create a share link with password/expiry. |
| /api/share/[slug] | GET | Public | 120 / min | Get public details for a shared file. |
| /api/share/[slug]/claim | POST | Public | 10 / min | Get a temporary download link. |