create_upload_url
Return a 15 minute PUT URL for a file up to 5 GB. uploadId is an HMAC of the website, key, size, content type, directory, and expiry. Send the returned headers with the PUT. Then call complete_upload. HEIC and HEIF are rejected here because they are converted to JPEG before storage, which a direct PUT cannot do; send those to upload_file instead.
create_upload_url · Group: files
Return a 15 minute PUT URL for a file up to 5 GB. uploadId is an HMAC of the website, key, size, content type, directory, and expiry. Send the returned headers with the PUT. Then call complete_upload. HEIC and HEIF are rejected here because they are converted to JPEG before storage, which a direct PUT cannot do; send those to upload_file instead.
Inputs
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
fileName | required | |
contentType | required | |
size | required | |
directoryId | optional |
Maps to
POST /api/v1/{locale}/{websiteId}/files/upload-url→ API