Skip to main content
POST
Prepare a large upload

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

The file's name, with an extension Parse supports, such as report.pdf. Names over 200 characters are cut.

Example:

"big.pdf"

size
integer
required

The file's exact size in bytes, up to 500 MB. The upload link only accepts a file of this size.

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

1000000

Response

The upload link is ready. PUT the file to uploadUrl within expiresIn seconds.

fileId
string<uuid>

The document's ID. Send it as fileId to POST /parse once the upload is done.

uploadUrl
string<uri>

Where to PUT the file's bytes. Don't send your API key to it.

method
enum<string>

The HTTP method to upload with.

Available options:
PUT
expiresIn
integer

Seconds until uploadUrl stops working.

message
string

The steps to finish the upload.