Shortlink
Every uploaded file gets an 8-character short code. Use /s/:code for quick access without the full file ID.
Playground
Active Shortlinks
No active files yet.
Docs
How it works
- Upload a file via
POST /api/upload - Response includes
shortCode(8 chars) andshortUrl - Share
/s/:code— automatically redirects to the file - Files and shortlinks expire after 1 hour
GET
/s/:code
→ 302 redirect to file
Directly redirects to the file. Open in browser or use with curl -L.
# Open in browser
https://helper.archio.qzz.io/s/b9dcf4c2
# Download via curl (follow redirect)
curl -L -O -J https://helper.archio.qzz.io/s/b9dcf4c2
GET
/api/s/:code
→ JSON metadata
Fetch file metadata by short code without redirecting.
Request
curl https://helper.archio.qzz.io/api/s/b9dcf4c2
Response 200
{
"status": true,
"data": {
"id": "b9dcf4c2-...",
"shortCode": "b9dcf4c2",
"originalName": "photo.jpg",
"mimeType": "image/jpeg",
"size": 204800,
"uploadedAt": "2026-01-01T00:00:00.000Z",
"expiresAt": "2026-01-01T01:00:00.000Z",
"url": "https://helper.archio.qzz.io/api/files/b9dcf4c2-...",
"shortUrl": "https://helper.archio.qzz.io/s/b9dcf4c2"
}
}
Error response
// 404 — not found
{ "status": false, "error": "Short code not found." }
// 410 — expired
{ "status": false, "error": "File has expired and been deleted." }