Hanko AI API
Integrate Hanko AI legal intelligence directly into your workflows. All endpoints require a Bearer token obtained from your organization settings, except where noted.
Base URL
Authentication
X-Org-Id: <your-org-id>
API keys are scoped to your organization. All requests are logged with the key ID, timestamp, and token usage for billing and audit purposes.
Endpoints
/api/documents/uploadBusiness+Upload a document (PDF or DOCX) for extraction and review.
/api/documents/{id}/reviewBusiness+Trigger a full contract review by the Keiyaku Agent. Returns redlines, risk score, and citations.
/api/documents/{id}/review.htmlBusiness+Download the standalone HTML redline report for a reviewed document.
/api/documents/{id}/review.pdfBusiness+Download the annotated PDF with highlights and a summary page appended.
/api/stamps/issueEnterpriseIssue a Hanko Digital Stamp (ECDSA-P256) for a reviewed document meeting eligibility criteria.
/verify/{stamp_id}PublicPublic verification endpoint. No authentication required. Returns stamp authenticity and document fingerprint.
/api/qaBusiness+Ask a legal question against your uploaded documents. Returns SSE streaming response with citations.
Request API Access
API access is available on Business and Enterprise plans.