Loading
Impostro

Developers

API and webhooks

Impostro is domain-only by design. The API exposes the domains, lookalike names and registrar reports already in your workspace. Nothing else is collected, so there is nothing else to page through.

Authentication

Create a token in Integrations. The raw value is shown once. Send it on every request as a bearer token. X-API-Key also works.

curl -H "Authorization: Bearer ph_your_token" \
  https://impostro.com/api/v1/brands

Rate limits

Limits are per token, per minute. Responses carry X-RateLimit-Limit and X-RateLimit-Remaining. A 429 includes Retry-After.

Starter60 requests per minute
Solo90 requests per minute
Pro120 requests per minute
Scale300 requests per minute
Trial30 requests per minute

Endpoints

GET /api/v1/ping

Cheap check that the token works.

{"ok": true, "product": "Impostro", "workspace": 42,
 "time": "2026-11-26T21:50:00+00:00"}

GET /api/v1/brands

Every domain in the workspace, with live counts. Paused domains stay in the list with monitoring: false.

{"count": 1, "brands": [{
  "id": 12, "domain": "northbank.example", "display_name": "Northbank",
  "monitoring": true, "verified": true, "verified_at": "2026-11-26T18:12:04+00:00",
  "created_at": "2026-11-20T09:00:00+00:00",
  "confirmed_findings": 4, "in_review": 11,
  "last_seen": "2026-11-26T21:40:11+00:00"}]}

GET /api/v1/brands/<id>

One domain and its 100 most recent lookalikes.

GET /api/v1/findings

Filter with brand_id, band (comma separated: CRITICAL, HIGH, MEDIUM, LOW), alive=true|false, impersonates=true|false, limit (1 to 500), and offset. The response includes the total before paging.

curl -H "Authorization: Bearer ph_your_token" \
  "https://impostro.com/api/v1/findings?band=CRITICAL,HIGH&alive=true&limit=50"
{"total": 4, "count": 4, "limit": 50, "offset": 0, "findings": [{
  "id": 981, "brand_id": 12, "domain": "northbank-login.example",
  "band": "CRITICAL", "risk": 90, "impersonates": true, "alive": true,
  "first_seen": "2026-11-26T06:10:00+00:00",
  "last_seen": "2026-11-26T21:40:11+00:00"}]}

GET /api/v1/reports

Registrar report log, newest first, up to 500 rows. status is delivery state: draft, queued, sent, failed. outcome is what happened next: pending, acknowledged, removed or refused, with followups_sent and next_followup_at.

Webhooks

Add an endpoint in Integrations and pick events. We sign the exact request body with HMAC SHA-256 and send it in X-Impostro-Signature: sha256=…, alongside X-Impostro-Event. Each attempt times out after 6 seconds; failures are retried twice (after 1.5s and 3s). Private, loopback and reserved addresses are refused to prevent SSRF.

Events: new_finding, report_sent, scan_complete.

{
  "event": "new_finding",
  "sent_at": "2026-11-26T21:50:00+00:00",
  "workspace": 42,
  "data": {
    "brand": "northbank.example",
    "domains": ["northbank-login.example"]
  }
}

Verify a delivery in Python

import hashlib, hmac

def valid(secret: str, body: bytes, header: str) -> bool:
    expected = "sha256=" + hmac.new(secret.encode(), body, hashlib.sha256).hexdigest()
    return hmac.compare_digest(expected, header)

Slack

Paste a Slack incoming webhook URL. We detect the host and send a short text message instead of the JSON envelope, so no Slack app or bot token is needed.

Errors

Errors are JSON: {"error": "invalid or revoked token"}. A missing or bad token is 401, a rate limit is 429, an unknown workspace object is 404. Nothing in the API can write, file, or delete. It is read-only on purpose.

Pricing · Security · Back to Impostro