Skip to main content
POST
Upload document
Requires write:vault and a user-associated API key. Entendre classifies the document. A bill can also post a journal entry, so upload only files that you intend to store and process.

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string

Optional retry key. Check X-Idempotency-Applied before relying on replay protection.

Required string length: 1 - 255

Body

application/json
filename
string
required

File name, including the extension.

Required string length: 1 - 255
base64
string
required

Base64-encoded file contents. The base64 string is capped at 14 MB (~10.5 MB decoded).

Required string length: 1 - 14680064

Response

Uploaded document.

data
object
required

The uploaded document.