Skip to main content
Uploads take three steps, and they’re the same three for files and for CDN assets. Learn it once.
1

Reserve

Tell Hypastack the name, size, and type. You get back an upload_url.
2

PUT the bytes

PUT the raw bytes to that URL. They go straight to storage and never touch Hypastack’s application servers.
3

Commit

Call /complete. Now the file (or asset) exists.
The commit step is safe to repeat. If your connection drops and you’re not sure the call landed, just call it again, you get the same file back rather than an error.
This is why uploads are fast: bytes go directly to storage rather than being relayed through Hypastack’s application servers, so a large file is limited by your own connection and nothing else.