ClawBot File Hub — Upload, Share & Serve
| Name | Size | Downloads | Expires | |
|---|---|---|---|---|
| Loading... | ||||
All API calls require x-api-key header.
# Upload (with optional custom slug) curl -X POST https://clapi.donam.vn/api/upload \ -H "x-api-key: YOUR_KEY" \ -F "[email protected]" -F "ttl=24" -F "slug=my-photo" # Set custom slug for existing file curl -X PUT https://clapi.donam.vn/api/files/FILE_ID/slug \ -H "x-api-key: YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"slug":"my-custom-name"}' # List files curl https://clapi.donam.vn/api/files -H "x-api-key: YOUR_KEY" # Delete curl -X DELETE https://clapi.donam.vn/api/files/FILE_ID \ -H "x-api-key: YOUR_KEY" # Short URLs (6-char ID or custom slug): https://clapi.donam.vn/d/AbC123 # download https://clapi.donam.vn/r/AbC123 # direct/raw https://clapi.donam.vn/d/my-photo # custom slug https://clapi.donam.vn/r/my-photo # custom slug direct