Skip to main content
POST
POST /api/files

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
filename
string
required
Required string length: 1 - 255
mimeType
string
required
Required string length: 1 - 128
byteSize
integer
required
Required range: x <= 20000000
sha256
string
Pattern: ^[0-9a-f]{64}$

Response

Success

file
object
required
upload
object
required