API Reference
A complete, machine-readable contract. Import the OpenAPI spec or Postman collection directly into your tools.
Base URL
https://zapinner.com/api/v1Endpoints
/api/v1/repairrequires authRepair (flagship) — send messy data, get production-ready data back: infer schema, reconcile field names, normalize values, merge duplicates, flag anomalies, with a full audit trail.
/api/v1/maprequires authMap (flagship) — turn incoming data into the exact schema your application expects: infer field mappings, combine/split fields, and convert every value to the target type, with confidence and reasons.
/api/v1/guardrequires authGuard (flagship) — validate, repair, or reject data before it reaches your application: a per-record pass / repair / review / reject decision with reasons and configurable policy.
/api/v1/leads/recoveryrequires authLead Recovery — score a single lead (also accepts a { leads: [] } convenience batch).
/api/v1/leads/recovery/batchrequires authLead Recovery — score up to 1,000 leads and return an aggregated pipeline summary.
/api/v1/reconcilerequires authReconciliation — compare two datasets and surface mismatches, duplicates, and missing records.
/api/v1/verifyrequires authVerification — check whether a claim is supported by the evidence supplied.
/api/v1/revenue-leakrequires authRevenue Leakage — find commercial discrepancies that may represent financial exposure.
/api/healthpublicNon-sensitive service health and scoring version.
Authentication
All non-public endpoints require a Bearer API key. See Authentication. Send Authorization: Bearer zap_live_... with every request.
Conventions
Requests and responses are JSON. Timestamps are ISO 8601 (UTC). Monetary values are plain numbers in your own currency. Every response includes an X-Request-Id header that matches the request_id in the body.
