Skip to main content
Returns a short-lived URL to PUT the file bytes to. The file never passes through the Dreep API, which is what makes this the right path for large files — and the only safe way to upload from a browser, since your API key stays on your server.

Parameters

Returns

The full flow

Until confirmUpload() is called the asset stays pending and is excluded from media listings.
The PUT must use the exact contentType and sizeBytes you presigned with — the signature covers both. See Uploading Media for the underlying HTTP flow.

Skipping duplicate uploads

Pass the file’s SHA-256 as contentHash. If Dreep already stores that content, the response comes back with alreadyExists: true and no uploadUrl — skip the PUT.