Presigned URLs
Advanced
Presigned URLs
Generate temporary tokens for secure direct uploads.
GET
Presigned URLs
Presigned URLs allow you to offload file handling to clients while maintaining security and path locking.
Path:
Path:
1. Generate Presigned Token
Create a short-lived token that locks an upload to a specific path or folder. Method:GETPath:
/api/presigned-url
Authentication
Requires an API Key viaAuthorization, X-API-Key, or apiKey query parameter.
Query Parameters
If ends with
/, locks to a folder. Otherwise, locks to a specific filename.TTL for the token in seconds (default 3600).
Force UUID filenames for the upload.
Response
2. Upload via Token
Upload the file content using the generated token. Method:POSTPath:
/api/presigned-url/:token
Headers
multipart/form-data