Reference for upload, update, delete, request fields, limits, expiry behavior, and common error responses.
API key headers are optional for POST /v1/upload and required for PUT/DELETE:
X-API-Key: YOUR_KEYAuthorization: Bearer YOUR_KEYAuthorization: Basic <base64(api:YOUR_KEY)>api. Anonymous POST is limited to the none plan with 1/minute IP rate limiting.GET https://<id>.htmlbucket.comGET https://<id>.htmlbucket.com/<asset-path>index.html; subpaths serve additional files in the upload folder.| Method | Path | Description |
|---|---|---|
POST |
/v1/upload |
Create a new upload. Counts as 1 daily write when successful. |
PUT |
/v1/upload/{id} |
Update an upload you own. Counts as 1 daily write when successful. |
DELETE |
/v1/upload/{id} |
Delete an upload you own. Does not count toward daily writes. |
GET |
https://{id}.htmlbucket.com |
Fetch index.html for a non-expired upload. |
GET |
https://{id}.htmlbucket.com/{path} |
Fetch an additional file from a non-expired upload folder. |
PROPFIND, GET, PUT, MKCOL, DELETE, OPTIONS |
/v1/dav/... |
Authenticated WebDAV operations for per-user folder/file management. |
/v1/dav/.PROPFIND /v1/dav/ lists active upload folders owned by the authenticated user.POST /v1/upload; each new upload starts with index.html.| Field | Type | Required | Notes |
|---|---|---|---|
content |
string | Yes | HTML body to store. Empty string is rejected. |
expiry |
integer (unix seconds) | No | Must be in the future and within your plan max window. If omitted on create, defaults to the plan max window from now. |
title |
string | No | Optional upload title. Trimmed; max 120 chars. On PUT, omitted title preserves existing title. |
For browser extensions and form integrations, POST /v1/upload also accepts multipart/form-data.
content form field is used instead.title, expiry.To create a full site in one request, send upload_kind=site and put each file's relative site path in the multipart field name using the file:<relative-path> pattern.
index.html is required.10 MiB total across all files.50 MiB total across all files.PUT /v1/upload/{id} still use the per-plan single-file size limits below.| Plan | Writes / day | Max single-file size | Max expiry window | Storage cap (active) |
|---|---|---|---|---|
| None (anonymous) | 20 | 1 MiB | 3 hours | 5 GiB shared across all anonymous uploads |
| Free | 50 | 10 MiB | 7 days | 500 MiB |
| Pro | 200 | 10 MiB | 30 days | 5 GiB |
| Team | 5000 | 25 MiB | 90 days | 100 GiB |
10 MiB anonymous and 50 MiB with an API key.free. Legacy hobby values resolve to free.{"url":"..."}