Developer access

Build document workflows with DocuStitch.

API access is designed for teams that need repeatable PDF operations outside the browser interface. This page documents the current surface area, request model, and integration expectations.

Scoped processing

API workflows should use isolated jobs, explicit retention rules, and clear limits per route.

Predictable endpoints

Common document operations are exposed as simple POST endpoints with multipart file inputs.

Infrastructure path

Unlike local browser tools, API requests necessarily use server-side processing and should be labeled accordingly.

Authentication

All API requests require a Bearer token. Request access from the Enterprise page.

# Include in all requests
Authorization: Bearer YOUR_API_KEY

Available endpoints

POST/v1/mergev

Combine multiple PDF files into one document

curl -X POST https://api.docustitch.app/v1/merge \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf"
POST/v1/splitv

Split a PDF into documents by page ranges

curl -X POST https://api.docustitch.app/v1/split \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf"
POST/v1/compressv

Reduce PDF file size while maintaining acceptable quality

curl -X POST https://api.docustitch.app/v1/compress \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf"
POST/v1/ocrv

Extract text from scanned PDFs using OCR

curl -X POST https://api.docustitch.app/v1/ocr \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf"
POST/v1/protectv

Add password protection to a PDF

curl -X POST https://api.docustitch.app/v1/protect \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf"

20 total tool routes are represented across the product, including convert, flatten, grayscale, repair, redact, and more.

Pro

Requests1,000 per month
Concurrent5
Max file size500 MB

Enterprise

Requests10,000 per month
Concurrent25
Max file sizeCustom

Enterprise+

RequestsCustom contract
Concurrent100+
Max file sizeCustom

SDK examples

JavaScript

Install
npm install @docustitch/sdk
import { DocuStitch } from '@docustitch/sdk';

const client = new DocuStitch('API_KEY');
const merged = await client.merge([file1, file2]);

Python

Install
pip install docustitch
from docustitch import DocuStitch

client = DocuStitch('API_KEY')
merged = client.merge([file1, file2])

Go

Install
Go SDK example coming soon
// Planned Go SDK example
// Contact hello@docustitch.app for early access.

Response codes

CodeStatusDescription
200SuccessRequest completed successfully. Response body contains the processed file.
400Bad RequestInvalid parameters or file format. Check the error message for details.
401UnauthorizedMissing or invalid API key. Ensure Bearer token is included.
429Rate LimitedToo many requests. Wait and retry, or upgrade your plan.
500Server ErrorInternal error. Contact support if this persists.

Ready to integrate?

Start with a scoped API request and confirm the processing model fits your compliance requirements.

Request Enterprise access

API Version 1.0 / Developer documentation / docustitch.app