Documentation

Build with Maskifai

Everything you need to integrate powerful PII detection and anonymization into your applications.

Quick Start

TypeScript
1import { Maskifai } from '@maskifai/sdk';
2
3const client = new Maskifai({
4 apiKey: process.env.MASKIFAI_API_KEY
5});
6
7// Anonymize text
8const result = await client.anonymize({
9 text: "John Smith's email is john@example.com",
10 entities: ['PERSON', 'EMAIL']
11});
12
13console.log(result.anonymized);
14// Output: "[PERSON_1]'s email is [EMAIL_1]"

API Endpoints

POST/v1/anonymize
POST/v1/anonymize/batch
POST/v1/detect
POST/v1/documents
GET/v1/jobs/{id}
GET/v1/usage

Official SDKs

🐍

Python

v2.1.0

💚

Node.js

v3.0.1

🔷

Go

v1.2.0

☕

Java

v1.0.0

Need Help?

Can't find what you're looking for? Our support team is here to help.