Skip to main content
POST
/
uploads
Create upload target
curl --request POST \
  --url https://api.renderjuice.com/api/external/v1/uploads \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fileName": "<string>",
  "fileType": "blend"
}
'
{
  "uploadUrl": "<string>",
  "slug": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z"
}
Presigned single-request uploads are limited to files smaller than 5 GiB.

Authorizations

Authorization
string
header
required

API key authentication. Format: Bearer RJ-XXX.... Get your API key from the Renderjuice dashboard.

Body

application/json
fileName
string
required

Source asset file name.

Minimum string length: 1
fileType
enum<string>
required

Supported upload type. Must match the file extension.

Available options:
blend,
zip

Response

200 - application/json

Success

uploadUrl
string
required

Opaque presigned upload URL for a single PUT upload.

Minimum string length: 1
slug
string
required

Stable handle to pass to job creation later.

Minimum string length: 1
expiresAt
string<date-time>
required

ISO 8601 timestamp when the upload URL expires.