---
title: Upload a document
description: "## POST /batches/{batchId}/documents/upload Send one file as multipart/form-data using the field name file. Supported extensions are: • .tif • .tiff • .pdf • .jpg • .jpeg • .png The default request size is 100 MB. The batch must exist and…"
url: "https://activerecord.com/docs/api/upload-a-document/"
updated: "2026-09-10"
category: "REST API - Oculens DDC Server (ODDC Server) 5.1"
---

# Upload a document

## POST /batches/{batchId}/documents/upload

Send one file as multipart/form-data using the field name file.

Supported extensions are:

• .tif

• .tiff

• .pdf

• .jpg

• .jpeg

• .png

The default request size is 100 MB. The batch must exist and be active. A successful response contains documentId, which identifies the submitted document.

An HTTP 200 response means the file was accepted for processing. It does not mean processing or export is complete.
