ebenova-legal-docs
Generate legal documents, detect scope violations, extract terms from conversations, and link contracts to payments. 27 document types, 18 jurisdictions including Nigeria, UK, US, Canada, Ghana, Kenya, UAE. Built for developers, SaaS platforms, and AI agents.
ebenova-legal-docs endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
analyzeScopeViolation /v1/scope/analyze |
Analyzes a client message against your contract to detect scope violations. Returns violation details, severity, and 3 professional response drafts. **Pro Tier Required:**… |
| POST |
generateInvoice /v1/invoices/generate |
Generates a professional HTML invoice, receipt, proforma invoice, or credit note. Returns fully rendered HTML ready to display or print-to-PDF client-side. **When to use this… |
| POST |
generateChangeOrder /v1/scope/change-order |
Generates a formal change order document for additional work requested by the client. Returns a professionally formatted document ready to send. **Pro Tier Required:** Available… |
| POST |
createPortalSession /v1/billing/portal |
Creates a Stripe Customer Portal session for managing subscriptions. Requires authentication. The API key must be linked to a Stripe customer. |
| GET |
listDocumentTypes /v1/documents/types |
Returns all 27 supported document types, grouped by category. No authentication required. |
| POST |
generateDocument /v1/documents/generate |
Generates a professionally drafted legal document using AI. The document is returned as plain text, ready to copy, download, or render as PDF/DOCX. **When to use this endpoint:**… |
| POST |
createCheckoutSession /v1/billing/checkout |
Creates a Stripe Checkout session for subscribing to an API plan. Returns a checkout URL — redirect your user there to complete payment. No authentication required. |
| POST |
extractFromConversation /v1/extract/conversation |
Parses a raw WhatsApp chat, email thread, or any text conversation and extracts structured fields for a legal document. Set `auto_generate: true` to also generate the full… |
| GET |
getKeyUsage /v1/keys/usage |
Returns current month usage and 3-month history for the authenticated API key. |