A RESTful JSON API with 60+ endpoints, webhook subscriptions, and up to 2,000 requests per minute. Connect your firm's tools, automate workflows, and push data to your BI stack.
// Fetch all active matters for the tenant const response = await fetch( 'https://yourfirm.akilisuite.com/api/admin/matters', { headers: { 'Authorization': `Bearer ${JWT_TOKEN}`, 'Content-Type': 'application/json' } } ); const { matters, total } = await response.json(); // → { matters: [...], total: 42 } // Each matter includes: // id, title, centre, practice_area, // milestone, progress, risk_level, // success_probability, billing_rate
Every API request requires a valid JWT in the Authorization: Bearer <token> header. Tokens are issued via the magic-link authentication flow and expire after 24 hours. Rotate tokens via the session management endpoint or the admin portal.
{
"sub": "user-uuid",
"email": "[email protected]",
"role": "admin", // admin | advocate | client
"tenant_id": "tenant-uuid",
"jti": "unique-token-id", // for revocation
"iat": 1711670400,
"exp": 1711756800 // 24-hour expiry
}Subscribe to platform events and receive HTTP POST payloads to your endpoint. HMAC-SHA256 signed. Retry with exponential backoff on failure. Available on Enterprise plans.
Full API reference, example requests, and response schemas are in the developer documentation. Command plan or above required to generate API credentials.