Developer Platform

Build with DocuStitch

Privacy-first PDF processing, now available via REST API. Same local-first engine, enterprise-grade reliability.

Privacy-First

Files processed in isolated containers. Deleted immediately after processing. Zero data retention.

Blazing Fast

99.9% uptime SLA. Average response time under 2 seconds for most operations.

Global CDN

Edge locations worldwide. Files never travel farther than necessary.

Authentication

All API requests require a Bearer token. Get your API key from the Enterprise dashboard.

# Include in all requests
Authorization: Bearer YOUR_API_KEY

Available Endpoints

POST/v1/merge

Combine multiple PDF files into one document

curl -X POST https://api.docustitch.app/v1/merge \
  -H "Authorization: Bearer $API_KEY" \
  -F "files[]=@document1.pdf" \
  -F "files[]=@document2.pdf"
POST/v1/split

Split a PDF into multiple documents by page ranges

curl -X POST https://api.docustitch.app/v1/split \
  -H "Authorization: Bearer $API_KEY" \
  -F "file=@document.pdf" \
  -F "ranges=1-3,4-6,7-10"
POST/v1/compress

Reduce PDF file size while maintaining quality

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

Extract text from scanned PDFs using OCR

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

Add password protection to a PDF

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

16 total endpoints available — including convert, flatten, grayscale, repair, redact, and more.

Rate Limits

Pro

Requests1,000 per month
Concurrent5
Max File Size500 MB

Enterprise

Requests10,000 per month
Concurrent25
Max File SizeUnlimited

Enterprise+

RequestsUnlimited custom
Concurrent100+
Max File SizeUnlimited

Official SDKs

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 get github.com/docustitch/go-sdk
import "github.com/docustitch/go-sdk"

client := docustitch.New("API_KEY")
merged, _ := client.Merge(file1, file2)

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?

Get started with a free trial. Enterprise tier includes 10,000 API requests per month.

Get Enterprise Access

API Version 1.0 • Developer Documentation • docustitch.app