Skip to content
Private Preview
Join Waitlist →

API Documentation

Integration options and API reference

5 min readAuthor: Redactorr Support Team · [email protected]Last reviewed: March 2026

API Documentation

Integrate Redactorr into your application with our REST API, JavaScript SDK, or web app at app.redactorr.com.

Coming Soon

Enterprise API access is planned for a future release.

Integration Options

1. REST API (Beta)

Send HTTP requests to detect and redact sensitive data.

Use cases:

  • Backend services
  • CI/CD pipelines
  • Batch processing
  • Serverless functions

Enterprise API access is planned for a future release. Contact [email protected] to register your interest.

2. JavaScript SDK (Beta)

Use Redactorr in Node.js or browser applications.

Use cases:

  • Web applications
  • Electron apps
  • Chrome extensions
  • Node.js scripts

Example:

typescript
import { Redactorr } from '@redactorr/sdk';

const client = new Redactorr({
  apiKey: process.env.REDACTORR_API_KEY
});

const result = await client.detectAndRedact({
  text: 'Contact [email protected]',
  mode: 'balanced'
});

3. Browser Extension

Add Redactorr to your browser for on-the-fly redaction.

Use cases:

  • Email clients (Gmail, Outlook)
  • Slack/Discord
  • Google Docs
  • CRM systems

Install:

4. Webhooks (Enterprise)

Receive real-time notifications when events occur.

Use cases:

  • Audit logging
  • Compliance monitoring
  • Automated workflows
  • Alerting

Events:

  • detection.completed
  • file.processed
  • breach.found
  • pattern.created

API Reference (Beta)

Authentication

Include your API key in the Authorization header:

text
Authorization: Bearer YOUR_API_KEY

Get your API key from Settings > API Keys.

Endpoints

POST /v1/detect

Detect sensitive data in text.

Request:

json
{
  "text": "Contact [email protected]",
  "mode": "balanced",
  "categories": ["EMAIL", "PHONE", "SSN"]
}

Response:

json
{
  "detections": [
    {
      "type": "EMAIL",
      "value": "[email protected]",
      "start": 8,
      "end": 25,
      "confidence": 0.98
    }
  ]
}

POST /v1/redact

Redact sensitive data and return redaction map.

Request:

json
{
  "text": "Contact [email protected]",
  "mode": "balanced"
}

Response:

json
{
  "redacted": "Contact [EMAIL_1]",
  "tokenMap": {
    "EMAIL_1": "[email protected]"
  }
}

POST /v1/restore

Restore original values from redaction map.

Request:

json
{
  "text": "Contact [EMAIL_1]",
  "tokenMap": {
    "EMAIL_1": "[email protected]"
  }
}

Response:

json
{
  "restored": "Contact [email protected]"
}

Rate Limits

PlanRequests/MinuteRequests/Day
Free10100
Pro6010,000
Team12050,000
EnterpriseCustomCustom

SDK Installation

bash
npm install @redactorr/sdk
# or
yarn add @redactorr/sdk
# or
pnpm add @redactorr/sdk

Enterprise API

Enterprise API access is planned for a future release.