Upload a document

This endpoint provides a presigned URL for clients to upload a document or image directly to an S3 bucket. In the follow-up PUT request to the presigned URL the file should be the raw binary body of the request. It is important to resend the Content-Type header as well as the Content-Disposition header including the original filename. PNGs and JPGs will be considered a single page document and PDFs will be split into pages.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Unique id of the project.

string
required

Unique id of the use case.

string
required

Unique id of the document type id.

Body Params

Create document request body

documents
array of objects
documents
string
pages
array of arrays of integers
pages
Headers
string
required

Content-Disposition of the document file. Must be attachment; filename=

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json