Bates Numbering API
Stamp sequential Bates numbers on every page of a PDF.
Web UI: Bates numbering
Authentication
Bearer API key required on every request.
Request
POST https://api.omnicap.app/v1/bates-stamp
Content-Type: multipart/form-data
file(file, required, multiple)One or more PDFs. Multiple files merge in order before stamping.
prefix(string)Text before the number (e.g. CASE-).
start(string)Starting number (default 1).
digits(string)Zero-pad width (default 6).
position(string)top-left | top-right | bottom-left | bottom-right.
fontSize(string)Font size 6–36 (default 10).
password(string)
Response
Mode: sync — binary file body
Headers: X-Page-Count
Examples
curl
curl -X POST "https://api.omnicap.app/v1/bates-stamp" \ -H "Authorization: Bearer $OMNICAP_API_KEY" \ -F "file=@/path/to/file1.pdf"
Node.js (fetch)
const form = new FormData();
form.append("file", fileBlob, "document.pdf");
const res = await fetch("https://api.omnicap.app/v1/bates-stamp", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.OMNICAP_API_KEY}` },
body: form,
});
const out = await res.arrayBuffer();Billing
1 billable unit(s) per successful call.
Changelog
- 2026-10-28: Initial public release.
- 2026-10-28: Multi-file batch merge then continuous Bates.