Skip to main content
POST
TypeScript

Authorizations

Authorization
string
header
required

Default authentication mechanism

Path Parameters

namespaceId
string
required

The id of the namespace (prefixed with ns_)

Example:

"ns_123"

Body

application/json
fileName
string
required

File name

Minimum string length: 1
Example:

"document.pdf"

contentType
string
required

Content type

Example:

"application/pdf"

fileSize
number
required

File size in bytes

Required range: 1 <= x <= 209715200
Example:

1024

Response

Presigned URL generated successfully

success
boolean
required
data
Upload Result · object
required