RESTful endpoints for Firm Medium and Enterprise tiers. Integrate Lawya's intelligence layer into your existing practice management stack.
All API requests require a valid Bearer token. Tokens are scoped to specific firm resources and expire after 24 hours. Refresh tokens are valid for 90 days.
POST https://api.lawya.com/v1/auth/token
GET /v1/cases
Returns a paginated list of all cases accessible to the authenticated firm.
POST /v1/ai/generate
Invoke Argü AI to draft legal documents based on case context and precedent analysis.
{
"case_id": "IKE-2025-001",
"document_type": "motion",
"context": "Bail application for economic crimes",
"tone": "formal"
}
POST /v1/vault/upload
Upload files directly to the Vault with automatic OCR, hashing, and indexing.
Briefings on Nigerian legal engineering, product dispatches, and the future of the Bar.