Upload your first file

A small REST API for uploads, sharing, and file management.

Quick start

Upload a file with one multipart request. New authenticated uploads are private by default; anonymous uploads are always public and return a delete key.

Multipart form data
100 MB direct uploads
0 downloads = unlimited

Response anatomy

Save the file ID and delete key from the response. Prefix a relative file URL with https://mbr.pub when you need an absolute URL.

JSON response
1{
2  "success": true,
3  "fileId": "aB3kL9xQ2p",
4  "fileUrl": "/file/aB3kL9xQ2p",
5  "fileName": "image.png",
6  "deleteKey": "…",
7  "expiresAt": "2026-01-01T00:00:00.000Z"
8}