Skip to main content
POST
Create a document upload URL

Authorizations

Authorization
string
header
required

API token issued from the Equated app under Settings → API Tokens.

Body

application/json
fileName
string
required

Document file name ending in .pdf, .png, .jpg, or .jpeg.

Required string length: 1 - 200

Response

200 - application/json

Presigned upload target

uploadUrl
string
required

Presigned URL to PUT the raw file bytes to. Time-limited.

uploadKey
string
required

Handle for the ingest step once the file has been uploaded.

contentType
string
required

Content-Type header the PUT request must send.

expiresInSeconds
integer
required
maxBytes
integer
required