PII API — Detect and Redact PII Before It Reaches Your AI
A REST PII API for engineers building AI features on real user data. PortEden fetches from email, drive, calendar, and SharePoint and returns it already redacted, so SSNs, PHI, account numbers, and secrets never reach the model, your logs, or a third-party processor.
Free tier · No credit card required
One Call In. Redacted Data Out.
# Generate an API key from your dashboard at my.porteden.com,# or run `porteden auth login` to mint one via the browser flow.export PE_API_KEY=pe_k1_... # Read the inbox. PortEden detects and redacts PII before the response is built,# so the body you receive has SSNs, cards, and secrets already stripped.curl https://api.porteden.com/api/access/email/messages?q=invoice \ -H "Authorization: Bearer $PE_API_KEY" # => "Body: \"SSN ███-██-████ ... Acct: ████-████-████\""# Every detection and redaction is recorded in the audit log.What Goes Wrong Without PortEden
Your AI Pipeline Ships Raw PII to a Third-Party Model
You wired a mailbox or a database into a prompt. Every SSN, customer record, and credential in that data now flows to an external model in the clear. A PII API that runs after the fact cannot help: the exposure already happened.
Detection-Only APIs Leave You Holding the Raw Data
Many PII APIs take text and return a list of entities. You still fetched the raw data, you still have to redact it, and you still store the original somewhere. The sensitive copy never stopped existing in your perimeter.
You're Rebuilding Detection With Regex
Patterns for SSNs, allow-lists for domains, a half-trusted internal classifier. It misses the unstructured PII in free text, has no audit, and becomes a quarter of engineering time that is not your product.
PII, PHI, and Secrets, Stripped at the Boundary.
Every response from PortEden is detected and redacted before it reaches your service. The model behind your service sees placeholders, not raw values.
Built For PII API
Detection and Redaction in One Call
Every response passes through a 50+ identifier classifier (SSN, EIN, PHI, credit card, IBAN, secret tokens, 120+ patterns) in under 200 ms. Detected values are replaced with stable placeholders the model can still reason about, never the underlying data.
Fetch-and-Redact, Not Detect-and-Hope
PortEden reads from the source system for you (Gmail, Outlook, Drive, OneDrive, SharePoint, Calendar, tasks) and returns it already redacted. Your service never holds the raw PII, so there is no original copy to leak.
Scoped Tokens, Not Raw OAuth
Mint a JWT scoped to one mailbox label, one Drive folder, one calendar, and a set of HTTP verbs, with an expiry. Revoke any token in a single call. Your agent never holds the user's Google or Microsoft refresh token.
Every Detection Audited
The API logs which categories fired, how many, and the allow-or-deny outcome on every call. Stream to Splunk, Datadog, or S3. Redaction stops being a black box and becomes evidence you can hand an auditor.
The PII API Surface, Redacted by Default.
/api/auth/token/loginStart the browser login flow to mint a scoped API key.GET/api/access/email/messagesList or search inbox messages, PII redacted by default.GET/api/access/drive/filesSearch Drive / OneDrive with folder-scoped tokens, bodies redacted.GET/api/access/calendar/eventsList events with attendee and title redaction options.PUT/api/auth/token/{tokenId}/permissionsTune which redaction categories apply for a given token.POST/api/auth/token/{tokenId}/rulesAllow-list or block specific values, contacts, or domains.The Same Workflow, Two Very Different Outcomes
Five-Minute Quickstart. Free Tier, No Credit Card.
Mint a scoped token, run the curl, watch the redaction fire in the audit log. Free tier covers 1,000 calls per month.
Frequently Asked Questions
What does the PortEden PII API do?
How is this different from a detection-only PII API?
What types of PII does it detect?
Can I redact text I already have, not just fetch new data?
How fast is redaction?
Can I run the PII API inside my own VPC?
Is there an audit record of what was redacted?
What does the PII API cost?
Ready to Strip the PII Before It Reaches Your Model?
Mint a scoped token, run the quickstart, watch the redaction fire in the audit log. Free tier covers 1,000 calls per month, no credit card.
On-prem or 50k+ users? Talk to sales →