Skip to main content
POST
Request a presigned upload URL for artwork
This endpoint is in beta and subject to change.
When you PUT the bytes to uploadUrl, you must send two headers that are baked into the URL’s signature — omit or mismatch either and Google Cloud Storage rejects the upload with 403 SignatureDoesNotMatch:
  • Content-Type — must equal the contentType you sent in this request.
  • x-goog-content-length-range: 0,<size> — must use the same size (in bytes) you sent in this request.
The PUT goes directly to Google Cloud Storage, not Fourthwall — don’t send your Fourthwall credentials with it, and note the URL is short-lived.

Body

application/json
contentType
string
required

MIME type of the file.

fileName
string
required

Name of the file.

size
integer<int64>
required

Size of the file in bytes. Must match the x-goog-content-length-range header sent when uploading the bytes to uploadUrl.

Response

200 - application/json

OK

uploadUrl
string
required
fileUrl
string
required