Skip to main content
POST
Create File Upload

Authorizations

X-API-Key
string
header
required

Body

application/json
content_type
string
required

Must be application/pdf: the file is attached as the document's PDF as it is, without conversion.

filename
string
required

Filename to store the file under (shown when downloading).

size_bytes
string
required

Exact size of the bytes to upload; storage rejects a larger object.

Response

OK

file
object

The reserved upload (status PENDING).

upload
object

The presigned form to POST the bytes to.