cURL
curl --request POST \ --url https://api.upscayl.org/get-upload-url \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "data": { "fileSize": 123, "fileType": "<string>", "originalFileName": "<string>" } } '
{ "status": "success", "data": { "uploadId": "<string>", "partUrls": [ { "partNumber": 123, "signedUrl": "<string>" } ], "partSize": 123, "fileName": "<string>", "fileType": "<string>", "fileSize": 123, "originalFileName": "<string>", "path": "<unknown>", "createdAt": 123, "expiresAt": 123 } }
This endpoint generates a URLs for uploading a file to upscayl servers in multipart format. This is useful for large files or slow connections.
API key required to access the API. You can obtain an API key at https://upscayl.org/account/api-keys
Show child attributes
The size of the file in bytes.
The MIME type of the file.
The original name of the file.
Presigned URLs generated successfully
"success"
The ID of the multipart upload.
The part number for the upload.
The presigned URL for uploading the part.
The size of each part in bytes.
The generated file name.
The path of the file to send to start-task.
Timestamp of URL generation.
Timestamp of URL expiration.