API Documentation

Enterprise-grade document redaction API with intelligent AI processing. Automatically detect and redact sensitive information from PDFs, DOCX, and images.

Try Interactive Demo

RESTful API

Clean, intuitive REST endpoints with JSON responses

Secure Authentication

OAuth 2.0 with Google, session-based security

Real-time Processing

Live status updates and progressive result streaming

Quick Start

3 simple steps

Include your API key in all requests:Authorization: Bearer sk-redoc-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

Create and manage your API keys for programmatic access

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

Sign in to manage API keys

Create API keys to access Re-Doc programmatically

Sign in with Google

API Parameters Guide

Required Parameters

file / files

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

Optional Parameters

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"

Automatic Processing Features

Text Extraction

Advanced OCR automatically extracts text with high accuracy across multiple languages.

Entity Detection

AI-powered detection of PII and sensitive entities based on document type and custom prompts.

Smart Redaction

Automatic redaction with optimized settings and format conversion back to original type.

API Reference

Categories

POST/api/v1/processing/uploadAuth Required

Upload and process a single document for redaction

POST/api/v1/processing/upload-multipleAuth Required

Upload and process multiple documents in batch

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://api.redoc.ai

All API requests should be made to this base URL. HTTPS is required for all requests.

Usage Limits

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

Need more? Email support@redoc.ai

REST API and Cloud Storage Connectors

Enterprise-ready endpoints for document processing

Redact & Correct API

Automatically detect and anonymize sensitive entities using AI-powered OCR and LLM processing.

AvailablePOST /api/v1/upload

Download API

Download processed documents in original format. Supports PDF, DOCX, and image outputs.

AvailableGET /api/v1/download

Cloud Storage Integration

Available

Connect your cloud storage directly to Re-Doc for seamless document ingestion and processing at scale.

AWS S3
AWS S3
Azure Blob
Azure Blob

Need Help?

Get support from our team or connect with the developer community