Quick start
This is for whoever handles IT at your practice, in-house or outsourced. Most practices finish steps 1 to 3 in an afternoon. You don't need the API at all to use HuntLeak; it's there if you want alerts in your own ticketing tool.
Your enrollment token and installers arrive by email after the BAA is signed. Tokens expire after 14 days.
1. Install the agent
The agent is what spots patient data leaving a computer by email, browser upload, USB drive or printer. It runs on Windows 10 (1809 or later), Windows 11, and the three most recent macOS versions. It uses about 150 MB of disk and under 2% CPU on a typical front-desk PC.
Windows (PowerShell)
# Run in an elevated PowerShell, or push through Intune / your RMM tool
msiexec /i HuntLeakAgent-x64.msi /qn ENROLL_TOKEN="hl_enr_7Qx...your-token" SITE="Main Street"
# Check the agent is running
Get-Service HuntLeakAgent macOS (Terminal)
# Run on each Mac, or deploy the .pkg through your MDM
sudo installer -pkg HuntLeakAgent.pkg -target /
sudo /Library/HuntLeak/hlagent enroll --token "hl_enr_7Qx...your-token" --site "Main Street"
# Then approve Full Disk Access for HuntLeak Agent
# (System Settings > Privacy & Security), or push the PPPC profile we send you $ Get-Service HuntLeakAgentStatus Name DisplayNameRunning HuntLeakAgent HuntLeak AgentEnrolled to site 'Main Street', policy mode: audit-only
New workstations start in audit-only mode: they record matches but don't encrypt or block anything. We switch rules on after the two-week tuning period, with your OK.
2. Connect your mail and file storage
Microsoft 365
- Sign in to the HuntLeak portal as Owner and open Settings → Connections.
- Choose Microsoft 365. A Global Administrator signs in and approves the HuntLeak app.
- The app reads outbound mail metadata, OneDrive and SharePoint sharing links, and sign-in data for dark web follow-up.
- If you have Purview, tell us. We can mirror our PHI rules there so they apply in Outlook too.
Google Workspace
- In the portal, choose Google Workspace under Settings → Connections.
- A super admin adds our client ID in the Admin console under domain-wide delegation, with the scopes we list on screen.
- We start reading Gmail sent-mail metadata and Drive sharing settings within an hour.
- The first full Drive scan can take a day on large shared drives.
3. Send your watchlist
This tells the dark web and vendor monitors what to look for. Paste it into Settings → Watchlist, or send it to the API. Include old brand domains and your onmicrosoft.com domain; leaked logins often use them.
watchlist.json
{
"domains": ["northsidedental.example", "northsidedental.onmicrosoft.com"],
"priority_accounts": ["admin@northsidedental.example", "billing@northsidedental.example"],
"vendors": [
{ "name": "Example Billing Partners", "type": "billing", "data_shared": ["claims", "member_ids"] },
{ "name": "Example Imaging Cloud", "type": "imaging", "data_shared": ["xrays", "patient_names"] },
{ "name": "Example IT Services", "type": "it_provider", "data_shared": ["admin_access"] }
]
} The data_shared field matters: when a vendor shows up on a leak site, it's how we tell you which of your data they likely held.
4. Pull reviewed alerts
Create an API key in Settings → API keys. Keys are tied to a portal role, and only alerts that an analyst has already reviewed come back from the API.
GET /v1/alerts
curl https://api.huntleak.online/v1/alerts \
-H "Authorization: Bearer $HUNTLEAK_API_KEY" \
-G -d status=open -d source=dlp -d since=2026-11-01 -d limit=50 200 OK
{
"data": [
{
"id": "alt_01JD8K2M4V",
"source": "dlp",
"channel": "usb",
"rule": "MRN + name",
"action_taken": "blocked",
"device": "FD-PC-03",
"user": "frontdesk2@northsidedental.example",
"evidence": "MRN ••••4821 near patient name",
"analyst_verdict": "true_positive",
"next_steps": ["Confirm with staff member", "Keep USB read-only on FD-PC-03"],
"created_at": "2026-11-21T17:42:10Z"
}
],
"next_cursor": "c_9f2a"
} Parameters
| Name | Values | Notes |
|---|---|---|
| status | open | resolved | dismissed | Filter by alert state. Default: all. |
| source | dlp | cloud_share | dark_web | vendor | Which monitor raised the alert. |
| severity | low | medium | high | Set by the analyst during review. |
| since | ISO 8601 date | Only alerts created on or after this date. |
| site | string | Location name, for multi-location practices. |
| limit | 1 to 200 | Page size. Default 50. |
| cursor | string | Value of next_cursor from the previous page. |
Other endpoints: GET /v1/alerts/:id, GET /v1/shared-files, GET /v1/reports (monthly PDFs), PUT /v1/watchlist.
5. Webhooks
Add an HTTPS endpoint in Settings → Webhooks and we'll POST each alert the moment an analyst finishes reviewing it. Check the signature header with your webhook secret (HMAC-SHA256). We retry failed deliveries 5 times over 24 hours.
POST to your endpoint
{
"event": "alert.reviewed",
"alert_id": "dwm_01JD7Y3B1Q",
"source": "dark_web",
"severity": "high",
"summary": "Staff mailbox password found in stealer log",
"found_at": "2026-11-18T06:10:00Z",
"signature": "t=1763446200,v1=5c1e..."
} Limits and error codes
- 60 API requests per minute per key; 10 active keys per account.
- Up to 200 alerts per page; evidence snippets are always masked.
- Watchlist: 50 vendors and 25 domains per account on Group, fewer on other plans (see Pricing).
| HTTP | Code | What it means |
|---|---|---|
| 400 | invalid_parameter | A filter value isn't allowed. The message names the field. |
| 401 | unauthorized | Missing or revoked API key. |
| 403 | forbidden | The key's role can't read this resource (Read-only keys can't export evidence). |
| 404 | not_found | The alert or report ID doesn't exist for your account. |
| 429 | rate_limited | Over 60 requests a minute. Wait for the seconds in Retry-After. |
| 500 | server_error | Our side. Retry with backoff; we're already alerted. |
Stuck on a step? Email support@huntleak.online with the step number and any error text.