Skip to main content
POST
Complete an upload

Authorizations

Authorization
string
header
required

A Melius API key (mel_...), sent as Authorization: Bearer <key>.

x-team-id
string
header
required

The team (workspace) to act on. Defaults to the key's team when omitted.

Body

application/json

Body

uploadId
string
required
s3Bucket
string
required
s3Key
string
required
filename
string
required
contentType
string
required
sizeInBytes
integer
required
Required range: x > 0
parts
object[]
required
uploadAttemptId
string
nodeId
string<uuid>
canvasId
string<uuid>
width
integer
Required range: x > 0
height
integer
Required range: x > 0
node
object
agentUpload
boolean
replaceActiveVersion
boolean
notifyUploader
boolean
pdfExtractionMode
enum<string>
Available options:
summary,
pages
purpose
enum<string>
Available options:
asset,
avatar,
team-photo,
custom-font,
comment-attachment,
brand-kit-guidelines
tags
string[]
Maximum array length: 20
Required string length: 1 - 100

Response

200

success
boolean
required
assetId
string<uuid>
required
s3Bucket
string
required
s3Key
string
required
url
string
required
nodeVersionId
string<uuid> | null