Documents
Upload a document
multipart/form-data with one `file` part and an optional `category`. The bytes are encrypted at rest. Uploads are NOT idempotent (a retried POST creates a new document; deduplicate client-side). Max 25 MB.
multipart/form-data with one file part and an optional category. The bytes are encrypted at rest. Uploads are NOT idempotent (a retried POST creates a new document; deduplicate client-side). Max 25 MB.
Authorization
apiKey AuthorizationBearer <token>
In: header
Response Body
application/json
application/json
curl -X POST "https://example.com/api/public/v1/documents"{ "category": "contract", "created_at": "string", "created_by": "string", "filename": "string", "id": "string", "mime": "string", "size": 0}{ "error": { "code": "string", "message": "string" }}