Create an upload URL
FiveMesh CDN
Create an upload URL
Create a short-lived URL that can upload files without exposing a service key.
GET
Create an upload URL
Create a short-lived upload URL that can receive files without exposing the service key.
The URL is managed by the FiveMesh API. Uploads still enforce path scope, file limits, MIME allow-lists and metadata rules.
Requires
The response uses
cdn:write.
The upload URL is not a direct storage URL. Send the upload request to the returned
uploadUrl.Optional lifetime in seconds. The API clamps it to the workspace maximum.
Optional path lock and default upload folder. Uploaded files must stay under this folder. If the upload request omits
path, files are stored here.Optional maximum number of files accepted by the URL. Defaults to
1.Optional maximum size per file, in bytes.
Optional comma-separated allow-list, such as
image/png,image/jpeg.Optional flag that allows the upload request to include metadata.
Cache-Control: no-store because the upload URL is a credential.