Creating a Template
In the dashboard, navigate to Redaction in the sidebar. Click New Template to create a template with:- Name: Human-readable label (e.g., “HIPAA Patient Record”)
- Slug: URL-safe identifier, auto-generated from the name (e.g.,
hipaa-patient-record) - Description: Optional notes about what this template redacts
- Presets: Check the built-in patterns to include (SSN, email, phone, date of birth, credit card)
- Custom patterns: Add literal strings or regex patterns specific to your use case
Available Presets
| Preset | Matches |
|---|---|
| SSN | US Social Security Numbers (XXX-XX-XXXX) |
| Email addresses | |
| Phone | US phone numbers |
| Date of Birth | Date patterns (MM/DD/YYYY, YYYY-MM-DD, etc.) |
| Credit Card | Credit card numbers |
Using Templates via API
Reference a template by its slug in thePOST /v1/redact request:
Combining with Inline Patterns
Templates can be combined with additional patterns and presets in the same request. All sources are merged:Loading in the Dashboard
When editing a document in the Document Editor, switch to Search mode in the Redact panel. Use the Load template dropdown to apply a saved template’s patterns to the current document.Managing Templates
Templates are scoped to your user account (or organization on Team+ plans). You can:- List all templates from the dashboard Redaction page
- Edit a template to update its patterns, presets, or description
- Delete templates that are no longer needed
Redaction templates require the hosted API. Self-hosted users should pass
patterns and presets directly in each request.Related
- Redaction — how Forme redaction works
- Redact API — endpoint reference