Working with Documents
The document
resource is the foundation of the API. In order to process your documents (PDFs, TIFFs etc.), you will:
- Create a new
document
resource from the contents of your document - OCR, classify, extract data from, or redact the document using the appropriate endpoints and the
document
's ID. - Delete the
document
resource
There are two different endpoints you can use to create a document
resource from the contents of your document:
- The Create document (upload) endpoint accepts the contents of the document in the request body.
- The Create document (import) endpoint accepts a URL from which the document contents are downloaded.
Your API client has a maximum number of document
resources that can exist at any time. This number is deliberately kept low to encourage you to keep your documents within the service for as short a time as possible.
Updated about 3 years ago