Simple, powerful file sharing API for developers. Perfect for CI/CD artifacts, temporary data sharing, and quick file transfers.
Endpoints
4
Max Files
10
Max Size
1GB
Max Hours
24
Create a new dump with files and/or text. Super simple one-liner uploads.
# Upload files with text
curl -X POST https://dum.pt/api/quick-dump \
-F "files=@build.zip" \
-F "files=@config.json" \
-F "text=Build #123 artifacts" \
-F "hours=12"
# Upload with password protection
curl -X POST https://dum.pt/api/quick-dump \
-F "files=@sensitive-data.txt" \
-F "password=secret123" \
-F "hours=2"
{
"success": true,
"dump": {
"id": "217341ff-2f61-4c5e-9df2-3f2d744ac190",
"url": "/dump/217341ff-2f61-4c5e-9df2-3f2d744ac190",
"rawUrl": "/api/raw/217341ff-2f61-4c5e-9df2-3f2d744ac190",
"downloadUrl": "/api/download/217341ff-2f61-4c5e-9df2-3f2d744ac190",
"createdAt": "2025-01-01T00:00:00Z",
"expiresAt": "2025-01-01T12:00:00Z",
"hasPassword": false,
"fileCount": 2,
"hasText": true
}
}
Get dump data as JSON. Includes files, text, metadata, and zip file URLs.
# Get full dump data
curl "https://dum.pt/api/raw/abc123..."
# With password
curl "https://dum.pt/api/raw/abc123...?password=secret123"
{
"id": "217341ff-2f61-4c5e-9df2-3f2d744ac190",
"text": "Build #123 artifacts",
"files": [
{
"originalName": "build.zip",
"url": "https://blob.vercel-storage.com/...",
"size": 1024000,
"type": "application/zip"
},
{
"originalName": "config.json",
"url": "https://blob.vercel-storage.com/...",
"size": 512,
"type": "application/json"
}
],
"zipFile": "https://blob.vercel-storage.com/...",
"createdAt": "2025-01-01T00:00:00Z",
"expiresAt": "2025-01-01T12:00:00Z",
"hasPassword": false
}
Download files directly. Smart redirects: single file → direct URL, multiple files → zip.
# Download all files (auto-zip if multiple)
wget https://dum.pt/api/download/abc123...
# Download specific file
wget "https://dum.pt/api/download/abc123...?file=config.json"
# Download with password
wget "https://dum.pt/api/download/abc123...?password=secret123"
Single file: Redirects to direct file URL (302)
Multiple files: Redirects to zip file URL (302)
Error: Returns JSON error response (4xx/5xx)
Get just the text content from a dump. Returns plain text by default, JSON with ?format=json.
# Get plain text
curl "https://dum.pt/api/text/abc123..."
# Get text as JSON
curl "https://dum.pt/api/text/abc123...?format=json"
# Get text with password
curl "https://dum.pt/api/text/abc123...?password=secret123"
Plain Text (default):
Build #123 artifacts
This is the text content from the dump.
JSON format (?format=json):
{
"text": "Build #123 artifacts\n\nThis is the text content from the dump.",
"id": "217341ff-2f61-4c5e-9df2-3f2d744ac190",
"createdAt": "2025-01-01T00:00:00Z",
"expiresAt": "2025-01-01T12:00:00Z"
}
Common error responses and status codes
{
"error": "Password required for this tunnel"
}
"Password required for this tunnel"
- Missing Authorization header"Invalid password"
- Wrong password provided"Tunnel not found"
- Invalid tunnel ID"Tunnel has expired"
- Tunnel older than 25 secondsBuilt with ❤️ for developers who need simple file sharing