Skip to main content
POST
Initiate document upload

Authorizations

session
string
cookie
required

Session cookie obtained from POST /api/auth/login.

Body

application/json
filename
string
required
Example:

"product-guide.pdf"

contentType
string
required
Example:

"application/pdf"

sizeBytes
integer
required
Example:

1048576

displayName
string

Response

Upload initiated

documentId
string<uuid>
uploadUrl
string<uri>

Presigned S3 URL for PUT upload

storageKey
string
expiresIn
integer

URL expiry in seconds