POST
/
get-upload-url
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": "<any>",
    "createdAt": 123,
    "expiresAt": 123
  }
}

Authorizations

X-API-Key
string
header
required

API key required to access the API. You can obtain an API key at https://upscayl.org/account/api-keys

Body

application/json
data
object

Response

200
application/json
Presigned URLs generated successfully
status
string
data
object