API Documentation

Build document redaction into your workflow. Three API calls is all it takes: upload, poll, download. We handle the OCR, entity detection, and format conversion. You get clean, redacted documents back.

Try Interactive Demo

Quick Start

3 simple steps

Include your API key in all requests:Authorization: Bearer re-doc-xxx...

1

Upload Document

POST /api/v1/processing/upload
file: document.pdf
2

Poll Status

GET /api/v1/processing/
    status/{session_id}
3

Download Result

GET /api/v1/processing/
    download/{session_id}/converted/0

API Keys

Your API key is your access pass. Create one, add it to your requests, and you're ready to process documents programmatically.

Base URL: https://re-doc.com

Sign in to manage API keys

Create API keys to access Re-Doc programmatically

Note: API access requires a paid plan (Starter or higher)

Sign in with Google

API Parameters Guide

Most parameters are optional. Upload a file and we'll figure out the rest. But if you need control, here's what you can tweak.

What You Must Send

file / files

Document file(s) to process. Supports PDF, DOCX, PNG, and JPG formats. Maximum 50MB per file, up to 10 files per batch.

Fine-Tuning Options

lang

Language code for OCR processing. Defaults to "en" (English).

Common values: en, es, fr, de, it, pt, zh, ja, ko

document_type

Document category to optimize entity detection patterns.

Options: "general", "financial", "medical", "legal"

custom_prompt

Custom instructions to focus entity detection on specific information types.

Example: "Focus on social security numbers and dates of birth"

What Happens Behind the Scenes

Text Extraction

Our OCR reads every character, even from tilted scans and faded prints. Works across 80+ languages.

Entity Detection

The tool finds names, Aadhaar numbers, account details, and whatever else you tell it to look for.

Smart Redaction

Redaction marks go exactly where they should. Your document comes back in the same format you sent it.

API Reference

Categories

POST/api/v1/processing/uploadAuth Required

Upload and process a document for redaction (black-box masking of sensitive data)

GET/api/v1/processing/status/{session_id}Auth Required

Get processing status for a document session

GET/api/v1/processing/results/{session_id}Auth Required

Get complete processing results for a document session

Base URL

https://re-doc.com

All requests go here. HTTPS only, no exceptions.

Usage Limits

Free Trial:10 pages/email
Custom Plans:Contact us

Need more? Email support@re-doc.com

REST API

Processing thousands of documents? Our REST API handles batch redaction, text replacement, and multiple data types at scale.

Redact & Anonymize API

Upload a document, we find the sensitive stuff and black it out. Or replace it with synthetic data that looks real. Your choice.

AvailablePOST /api/v1/upload

Download API

Get your processed document back in the exact format you sent it. PDF stays PDF. DOCX stays DOCX. No broken layouts.

AvailableGET /api/v1/download

Multiple Data Types API

Send a DOCX that mixes text and images. We replace the sensitive text and redact the sensitive parts of embedded images in one pass, keeping your layout intact.

AvailablePOST /api/v1/hybrid/upload

Stuck Somewhere?

Integration issues, edge cases, or just want to talk architecture? We're here.