Skip to main content
POST
Upload document
Requires write:vault and an API key with an owner. Entendre classifies the document.
A bill can also post a journal entry. Upload only files that you intend to store and process.

Authorizations

X-API-Key
string
header
required

Your organization API key. See Authentication.

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.