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_KEYAvailable endpoints
POST/v1/mergeCombine multiple PDF files into one documentv
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/splitSplit a PDF into documents by page rangesv
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/compressReduce PDF file size while maintaining acceptable qualityv
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/ocrExtract text from scanned PDFs using 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/protectAdd password protection to a PDFv
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
Enterprise
Enterprise+
SDK examples
JavaScript
npm install @docustitch/sdkimport { DocuStitch } from '@docustitch/sdk';
const client = new DocuStitch('API_KEY');
const merged = await client.merge([file1, file2]);Python
pip install docustitchfrom docustitch import DocuStitch
client = DocuStitch('API_KEY')
merged = client.merge([file1, file2])Go
Go SDK example coming soon// Planned Go SDK example // Contact hello@docustitch.app for early access.
Response codes
| Code | Status | Description |
|---|---|---|
| 200 | Success | Request completed successfully. Response body contains the processed file. |
| 400 | Bad Request | Invalid parameters or file format. Check the error message for details. |
| 401 | Unauthorized | Missing or invalid API key. Ensure Bearer token is included. |
| 429 | Rate Limited | Too many requests. Wait and retry, or upgrade your plan. |
| 500 | Server Error | Internal 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 accessAPI Version 1.0 / Developer documentation / docustitch.app