Developers
One command.
One command.
One link.
Upload from your terminal, scripts or apps. Responses are plain JSON.
Upload a file
curl -F "file=@report.pdf" -F "expires=1d" -F "maxDownloads=1" https://zapplink.in/wp-json/zepplink/v1/upload # response { "ok": true, "key": "k3x9mz2a", "link": "https://zapplink.in/d/k3x9mz2a/", "expiresAt": "…", "maxDownloads": 1, "deleteToken": "…" }
Several files as one zip
curl -F "file[]=@a.jpg" -F "file[]=@b.jpg" -F 'paths=["photos/a.jpg","photos/b.jpg"]' https://zapplink.in/wp-json/zepplink/v1/upload
Download and delete
curl -OJ "https://zapplink.in/?ll_download=k3x9mz2a" # add &password=… if locked curl -X POST -H "x-delete-token: …" https://zapplink.in/wp-json/zepplink/v1/delete/k3x9mz2a
Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /upload | Fields: file, expires (1h, 1d, 7d, 2w…), maxDownloads (0 = unlimited), password, message, paths. Max 2 GB per request; use the website for bigger files. |
| GET | /info/{key} | Name, size, downloads left, expiry |
| POST | /delete/{key} | Delete early with the x-delete-token header |
Base URL: https://zapplink.in/wp-json/zepplink/v1/